use newer base image

This commit is contained in:
Sebastian Hugentobler 2022-07-12 20:00:52 +02:00
parent 4a1fbc2ec3
commit 66d138ee58

View File

@ -1,6 +1,6 @@
FROM docker.io/alpine:3.15 AS builder FROM docker.io/alpine:3.16 AS builder
ENV VERSION=v1.61.1 ENV VERSION=v1.62.0
RUN apk add --no-cache \ RUN apk add --no-cache \
alpine-sdk \ alpine-sdk \
@ -11,11 +11,11 @@ RUN apk add --no-cache \
openssl-dev \ openssl-dev \
zlib-dev \ zlib-dev \
jpeg-dev \ jpeg-dev \
cargo rust
RUN pip3 install --target="/install" matrix-synapse==$VERSION RUN pip3 install --target="/install" matrix-synapse==$VERSION
FROM docker.io/thallian/confd-env:latest FROM docker.io/thallian/confd-env:3.16
RUN addgroup -g 2222 matrix-synapse RUN addgroup -g 2222 matrix-synapse
RUN adduser -h /var/lib/matrix-synapse -u 2222 -D -G matrix-synapse matrix-synapse RUN adduser -h /var/lib/matrix-synapse -u 2222 -D -G matrix-synapse matrix-synapse