diff --git a/app/Dockerfile b/app/Dockerfile index 28293e28..295f9e88 100644 --- a/app/Dockerfile +++ b/app/Dockerfile @@ -1,4 +1,7 @@ -FROM python:3-alpine as release +# Pin to Alpine 3.19 since aws-cli was removed in Alpine 3.20 +# see https://github.com/alpinelinux/docker-alpine/issues/396 +# https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.20.0#aws-cli +FROM python:3-alpine3.19 as release RUN adduser --system --disabled-password --no-create-home app