From c80711ceedce0d689d57a9504ce44c05f6ae89d9 Mon Sep 17 00:00:00 2001 From: Tommy Date: Fri, 10 Mar 2023 09:51:23 -0500 Subject: [PATCH] Make sure all packages are up to date Signed-off-by: Tommy --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7db09db..190252c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,8 @@ ARG HARDENED_MALLOC_VERSION ARG CONFIG_NATIVE=false ARG VARIANT=default -RUN apk --no-cache add build-base git gnupg && cd /tmp \ +RUN apk -U upgrade \ + && apk --no-cache add build-base git gnupg && cd /tmp \ && wget -q https://github.com/thestinger.gpg && gpg --import thestinger.gpg \ && git clone --depth 1 --branch ${HARDENED_MALLOC_VERSION} https://github.com/GrapheneOS/hardened_malloc \ && cd hardened_malloc && git verify-tag $(git describe --tags) \ @@ -24,7 +25,7 @@ FROM python:alpine as builder ARG SYNAPSE_VERSION RUN apk -U upgrade \ - && apk add -t build-deps \ + && apk --no-cache add -t build-deps \ build-base \ libffi-dev \ libjpeg-turbo-dev \ @@ -48,7 +49,7 @@ ARG UID ARG GID RUN apk -U upgrade \ - && apk add -t run-deps \ + && apk --no-cache add -t run-deps \ libffi \ libgcc \ libjpeg-turbo \