From: Pablo Zmdl Date: Wed, 4 Jun 2025 09:00:09 +0000 (+0200) Subject: Update packages when building 1.5-images X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=65f374cd03129f097d9a7f655e5e6d44fb270305;p=roundcube-roundcubemail-docker.git Update packages when building 1.5-images --- diff --git a/apache-1.5.x/Dockerfile b/apache-1.5.x/Dockerfile index 5f93520..d015db1 100644 --- a/apache-1.5.x/Dockerfile +++ b/apache-1.5.x/Dockerfile @@ -1,6 +1,11 @@ FROM php:7.4-apache LABEL maintainer="Thomas Bruederli " +# 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; \ \ diff --git a/fpm-1.5.x/Dockerfile b/fpm-1.5.x/Dockerfile index ded92d1..3e540e7 100644 --- a/fpm-1.5.x/Dockerfile +++ b/fpm-1.5.x/Dockerfile @@ -1,6 +1,11 @@ FROM php:7.4-fpm LABEL maintainer="Thomas Bruederli " +# 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; \ \ diff --git a/fpm-alpine-1.5.x/Dockerfile b/fpm-alpine-1.5.x/Dockerfile index 7d77011..0a9217c 100644 --- a/fpm-alpine-1.5.x/Dockerfile +++ b/fpm-alpine-1.5.x/Dockerfile @@ -1,6 +1,11 @@ FROM php:7.4-fpm-alpine LABEL maintainer="Thomas Bruederli " +# 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; \ \