Add libzstd to final image
Some checks failed
ZeroDownTime/sns-alert-hub/pipeline/head There was a failure building this commit

This commit is contained in:
Stefan Reimer 2024-09-12 19:03:44 +00:00
parent 208749d01e
commit de3df61608
2 changed files with 3 additions and 1 deletions

View File

@ -43,6 +43,9 @@ RUN sed -i -e "s/^__version__ =.*/__version__ = \"${TAG}\"/" /app/app.py
# Stage 3 - final runtime image
FROM python-alpine
RUN apk --no-cache add \
zstd-libs
WORKDIR /app
COPY --from=build-image /app /app

View File

@ -9,7 +9,6 @@ buildah copy $ctr dev-requirements.txt .flake8 .
buildah copy $ctr aws-lambda-rie
buildah copy $ctr tests/ tests/
buildah run $ctr apk add zstd-libs
buildah run $ctr pip install -r dev-requirements.txt --target .
buildah run $ctr python -m flake8 app.py