Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Upgrade Alpine Linux used in the Docker image (3.8 -> 3.10) (#5619)
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
spantaleev authored and richvdh committed Jul 12, 2019
1 parent 6bb0357 commit f369164
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/5619.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Base Docker image on a newer Alpine Linux version (3.8 -> 3.10)
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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 \
Expand Down

0 comments on commit f369164

Please sign in to comment.