Closed BackblazeGitHub closed 6 months ago
Closing this PR as Python 3.13 is not officially released yet (as evidenced by the version tag). Even Python's page says that they are "prerelease testing versions", and that they don't recommend it for use in production settings.
Further, Snyk entirely missed that the image build invocation is running a full system upgrade in the command path, so any vulnerabilities existing during creation of the image will be addressed by the upgrade commands.
FROM python:3.11-slim
COPY --from=build /build/dist ./dist
ENV DEBIAN_FRONTEND=noninteractive
RUN groupadd -g 1000 not_root && useradd -u 1000 -g 1000 not_root \
&& apt-get -y update \
&& apt-get -y install aptitude \
&& apt-get -y dist-upgrade \
&& apt-get -y autoremove \
&& apt-get -y autoclean \
&& apt-get -y clean \
&& aptitude -y purge '~o' \
&& apt-get -y remove --purge aptitude \
&& python3 -m pip install ./dist/boardwalk-*.whl \
&& rm -rf ./dist
As this is a private repository, Snyk-bot does not have access. Therefore, this PR has been created automatically, but appears to have been created by a real user.
Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Changes included in this PR
We recommend upgrading to
python:3.13.0b1-slim
, as this image has only 50 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.Some of the most important vulnerabilities in your base image include:
SNYK-DEBIAN12-GLIBC-6673964
SNYK-DEBIAN12-GLIBC-6673969
SNYK-DEBIAN12-GLIBC-6673972
SNYK-DEBIAN12-GLIBC-6673974
SNYK-DEBIAN12-ZLIB-6008963
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information: 🧐 View latest project report
🛠 Adjust project settings
Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.