Skip to content

Commit

Permalink
force base image
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronhmiller committed Feb 27, 2024
1 parent 04e1ce8 commit 9f6fc42
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
ARG PYTHON_VERSION=3.11.7
FROM python:${PYTHON_VERSION}-slim-bookworm as base
ARG PYTHON_VERSION=3.12.2

Check warning on line 1 in Dockerfile

View check run for this annotation

OX Security / ox-security/scan

[email protected] is a base image defined in Dockerfile having 96 vulnerabilities. Top risk: CVE-2019-1010022 (CVSS:9.8, Buffer Overflow)

• Current Base Image: python\@3.12.2-slim<br>• Recommended Upgrade: None <br><br>There are no recommended upgrades currently.<br>Consider waiting for a newer python version release or a patch for the current version before rebuilding the image.
#FROM python:${PYTHON_VERSION}-slim as base
FROM python:3.12.2-slim as base

# Prevents Python from writing pyc files.
ENV PYTHONDONTWRITEBYTECODE=1
Expand Down

0 comments on commit 9f6fc42

Please sign in to comment.