# 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; \
# 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; \
# 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; \