diff --git a/Dockerfile b/Dockerfile index 5414e4e..7fbcd0f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,7 +39,7 @@ RUN pip install . --no-deps RUN cd /root/.pulumi/bin && rm -f *dotnet *yaml *go *java && strip pulumi* || true # Remove AWS keys from docstring to prevent trivy alerts later -sed -i -e 's/AKIA.*//' /venv/lib/python${RUNTIME_VERSION}/site-packages/pulumi_aws/lightsail/bucket_access_key.py +RUN sed -i -e 's/AKIA.*//' /venv/lib/python${RUNTIME_VERSION}/site-packages/pulumi_aws/lightsail/bucket_access_key.py # Now build the final runtime, incl. running rootless containers FROM python:${RUNTIME_VERSION}-alpine${DISTRO_VERSION}