mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-24 10:35:46 +03: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:
parent
6bb0357c94
commit
f369164761
2 changed files with 3 additions and 2 deletions
1
changelog.d/5619.misc
Normal file
1
changelog.d/5619.misc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Base Docker image on a newer Alpine Linux version (3.8 -> 3.10)
|
|
@ -16,7 +16,7 @@ ARG PYTHON_VERSION=3.7
|
||||||
###
|
###
|
||||||
### Stage 0: builder
|
### 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
|
# install the OS build deps
|
||||||
|
|
||||||
|
@ -55,7 +55,7 @@ RUN pip install --prefix="/install" --no-warn-script-location \
|
||||||
### Stage 1: runtime
|
### 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
|
# xmlsec is required for saml support
|
||||||
RUN apk add --no-cache --virtual .runtime_deps \
|
RUN apk add --no-cache --virtual .runtime_deps \
|
||||||
|
|
Loading…
Reference in a new issue