Make apt not ask on upgrade
authorPablo Zmdl <redacted>
Mon, 13 Jan 2025 10:46:43 +0000 (11:46 +0100)
committerPablo Zmdl <redacted>
Tue, 14 Jan 2025 07:51:45 +0000 (08:51 +0100)
apache/Dockerfile
fpm/Dockerfile
templates/Dockerfile-debian.templ

index 24e5c56c3e3635fef727eff65a85ed62a69bd72c..9c1540edccba2220c9661301d8f5424cc9b6f9c2 100644 (file)
@@ -5,7 +5,7 @@ LABEL org.opencontainers.image.source="https://github.com/roundcube/roundcubemai
 # This should be done by the upstream images, but as long as they don't do it,
 # we rather use our own hands than suffer from outdated packages.
 # Kept as standalone command to make it stand out and be easy to remove.
-RUN apt-get update && apt-get upgrade && apt-get clean
+RUN apt-get update && apt-get -y upgrade && apt-get clean
 
 RUN set -ex; \
        if [ "apache" = "apache" ]; then a2enmod rewrite; fi; \
index d5aab2b4ff8d4328972d63d2e75b91cb7a3cbc50..5646d6bf9fbf9d205748fbc8da52a476ba498a6f 100644 (file)
@@ -5,7 +5,7 @@ LABEL org.opencontainers.image.source="https://github.com/roundcube/roundcubemai
 # This should be done by the upstream images, but as long as they don't do it,
 # we rather use our own hands than suffer from outdated packages.
 # Kept as standalone command to make it stand out and be easy to remove.
-RUN apt-get update && apt-get upgrade && apt-get clean
+RUN apt-get update && apt-get -y upgrade && apt-get clean
 
 RUN set -ex; \
        if [ "fpm" = "apache" ]; then a2enmod rewrite; fi; \
index ccda8b7091f54134b1dd30d9f4df1fe3c19f1550..e31cd1832c63b366e068181f425e147a070317f7 100644 (file)
@@ -5,7 +5,7 @@ LABEL org.opencontainers.image.source="https://github.com/roundcube/roundcubemai
 # This should be done by the upstream images, but as long as they don't do it,
 # we rather use our own hands than suffer from outdated packages.
 # Kept as standalone command to make it stand out and be easy to remove.
-RUN apt-get update && apt-get upgrade && apt-get clean
+RUN apt-get update && apt-get -y upgrade && apt-get clean
 
 RUN set -ex; \
        if [ "%%VARIANT%%" = "apache" ]; then a2enmod rewrite; fi; \
git clone https://git.99rst.org/PROJECT