Make sure all packages are up to date

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2023-03-10 09:51:23 -05:00 committed by GitHub
parent 80ed6e1699
commit c80711ceed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,8 @@ ARG HARDENED_MALLOC_VERSION
ARG CONFIG_NATIVE=false ARG CONFIG_NATIVE=false
ARG VARIANT=default 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 \ && 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 \ && git clone --depth 1 --branch ${HARDENED_MALLOC_VERSION} https://github.com/GrapheneOS/hardened_malloc \
&& cd hardened_malloc && git verify-tag $(git describe --tags) \ && cd hardened_malloc && git verify-tag $(git describe --tags) \
@ -24,7 +25,7 @@ FROM python:alpine as builder
ARG SYNAPSE_VERSION ARG SYNAPSE_VERSION
RUN apk -U upgrade \ RUN apk -U upgrade \
&& apk add -t build-deps \ && apk --no-cache add -t build-deps \
build-base \ build-base \
libffi-dev \ libffi-dev \
libjpeg-turbo-dev \ libjpeg-turbo-dev \
@ -48,7 +49,7 @@ ARG UID
ARG GID ARG GID
RUN apk -U upgrade \ RUN apk -U upgrade \
&& apk add -t run-deps \ && apk --no-cache add -t run-deps \
libffi \ libffi \
libgcc \ libgcc \
libjpeg-turbo \ libjpeg-turbo \