1
0
mirror of https://github.com/tommytran732/Synapse-Docker synced 2024-12-22 14:21:33 -05:00

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 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 \