Update packages when building 1.5-images
authorPablo Zmdl <redacted>
Wed, 4 Jun 2025 09:00:09 +0000 (11:00 +0200)
committerPablo Zmdl <redacted>
Wed, 4 Jun 2025 09:32:58 +0000 (11:32 +0200)
apache-1.5.x/Dockerfile
fpm-1.5.x/Dockerfile
fpm-alpine-1.5.x/Dockerfile

index 5f935201296aa48a648e28b928de0bbd84d0aa43..d015db1a9db1aec9d21b654362da49db73e9e31e 100644 (file)
@@ -1,6 +1,11 @@
 FROM php:7.4-apache
 LABEL maintainer="Thomas Bruederli <thomas@roundcube.net>"
 
+# 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 -y upgrade && apt-get clean
+
 RUN set -ex; \
        apt-get update; \
        \
index ded92d1048aca3f33b5fff9db4052ed6f2106500..3e540e79ef9e5ecc21646be84499009b6c1d68f6 100644 (file)
@@ -1,6 +1,11 @@
 FROM php:7.4-fpm
 LABEL maintainer="Thomas Bruederli <thomas@roundcube.net>"
 
+# 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 -y upgrade && apt-get clean
+
 RUN set -ex; \
        apt-get update; \
        \
index 7d77011048fd55b363f5905f7494f86f158b459f..0a9217c01766ff209645b99f15e4ce06c847e358 100644 (file)
@@ -1,6 +1,11 @@
 FROM php:7.4-fpm-alpine
 LABEL maintainer="Thomas Bruederli <thomas@roundcube.net>"
 
+# 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 apk upgrade --no-cache
+
 # entrypoint.sh and installto.sh dependencies
 RUN set -ex; \
        \
git clone https://git.99rst.org/PROJECT