0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-13 19:53:28 +01:00

Upgrade Alpine Linux used in the Docker image (3.8 -> 3.10) (#5619)

Alpine Linux 3.8 is still supported, but it seems like
it's quite outdated now.

While Python should be the same on both, all other libraries, etc.,
are much newer in Alpine 3.9 and 3.10.

Signed-off-by: Slavi Pantaleev <slavi@devture.com>
This commit is contained in:
Slavi Pantaleev 2019-07-12 13:38:25 +03:00 committed by Richard van der Hoff
parent 6bb0357c94
commit f369164761
2 changed files with 3 additions and 2 deletions

1
changelog.d/5619.misc Normal file
View file

@ -0,0 +1 @@
Base Docker image on a newer Alpine Linux version (3.8 -> 3.10)

View file

@ -16,7 +16,7 @@ ARG PYTHON_VERSION=3.7
###
### Stage 0: builder
###
FROM docker.io/python:${PYTHON_VERSION}-alpine3.8 as builder
FROM docker.io/python:${PYTHON_VERSION}-alpine3.10 as builder
# install the OS build deps
@ -55,7 +55,7 @@ RUN pip install --prefix="/install" --no-warn-script-location \
### Stage 1: runtime
###
FROM docker.io/python:${PYTHON_VERSION}-alpine3.8
FROM docker.io/python:${PYTHON_VERSION}-alpine3.10
# xmlsec is required for saml support
RUN apk add --no-cache --virtual .runtime_deps \