diff --git a/Dockerfile b/Dockerfile index ee329e4..023c083 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/run_tests.sh b/run_tests.sh index f6ff820..fb40eca 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -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