Add libzstd to final image
Some checks failed
ZeroDownTime/sns-alert-hub/pipeline/head There was a failure building this commit
Some checks failed
ZeroDownTime/sns-alert-hub/pipeline/head There was a failure building this commit
This commit is contained in:
parent
208749d01e
commit
de3df61608
@ -43,6 +43,9 @@ RUN sed -i -e "s/^__version__ =.*/__version__ = \"${TAG}\"/" /app/app.py
|
|||||||
# Stage 3 - final runtime image
|
# Stage 3 - final runtime image
|
||||||
FROM python-alpine
|
FROM python-alpine
|
||||||
|
|
||||||
|
RUN apk --no-cache add \
|
||||||
|
zstd-libs
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=build-image /app /app
|
COPY --from=build-image /app /app
|
||||||
|
|
||||||
|
@ -9,7 +9,6 @@ buildah copy $ctr dev-requirements.txt .flake8 .
|
|||||||
buildah copy $ctr aws-lambda-rie
|
buildah copy $ctr aws-lambda-rie
|
||||||
buildah copy $ctr tests/ tests/
|
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 pip install -r dev-requirements.txt --target .
|
||||||
|
|
||||||
buildah run $ctr python -m flake8 app.py
|
buildah run $ctr python -m flake8 app.py
|
||||||
|
Loading…
Reference in New Issue
Block a user