🐳 Use dist-upgrade to update all system packages

This commit is contained in:
David Barragán Merino 2026-06-16 21:31:17 +02:00
parent 3f336ce8b2
commit 217f5a9bec
4 changed files with 7 additions and 5 deletions

View File

@ -6,7 +6,7 @@ ENV LANG='C.UTF-8' \
RUN set -ex; \
apt-get -qq update; \
apt-get -qq upgrade; \
apt-get -qq dist-upgrade; \
apt-get -qqy --no-install-recommends install \
python3 \
unzip \
@ -353,6 +353,7 @@ RUN set -ex; \
RUN set -ex; \
apt-get -qq update; \
apt-get -qq dist-upgrade; \
apt-get -qqy install --no-install-recommends \
redis-tools \
gnupg2 \
@ -435,6 +436,7 @@ RUN set -ex; \
echo "deb [signed-by=/usr/share/postgresql-common/pgdg/apt.postgresql.org.asc] https://apt.postgresql.org/pub/repos/apt noble-pgdg main" >> /etc/apt/sources.list.d/postgresql.list; \
apt-get -qq update; \
apt-get -qqy install postgresql-client-16; \
apt-get clean; \
rm -rf /var/lib/apt/lists/*;

View File

@ -10,7 +10,7 @@ ENV LANG='C.UTF-8' \
RUN set -ex; \
apt-get -qq update; \
apt-get -qq upgrade; \
apt-get -qq dist-upgrade; \
apt-get -qqy --no-install-recommends install \
binutils \
ca-certificates \
@ -85,7 +85,7 @@ ENV LANG='C.UTF-8' \
RUN set -ex; \
useradd -U -M -u 1001 -s /bin/false -d /opt/penpot penpot; \
apt-get -qq update; \
apt-get -qq upgrade; \
apt-get -qq dist-upgrade; \
apt-get -qqy --no-install-recommends install \
ca-certificates \
curl \

View File

@ -13,7 +13,7 @@ RUN set -ex; \
mkdir -p /etc/resolvconf/resolv.conf.d; \
echo "nameserver 127.0.0.11" > /etc/resolvconf/resolv.conf.d/tail; \
apt-get -qq update; \
apt-get -qq upgrade; \
apt-get -qq dist-upgrade; \
apt-get -qqy --no-install-recommends install \
curl \
tzdata \

View File

@ -13,7 +13,7 @@ RUN set -ex; \
mkdir -p /etc/resolvconf/resolv.conf.d; \
echo "nameserver 127.0.0.11" > /etc/resolvconf/resolv.conf.d/tail; \
apt-get -qq update; \
apt-get -qq upgrade; \
apt-get -qq dist-upgrade; \
apt-get -qqy --no-install-recommends install \
curl \
tzdata \