From 44fe99e3a6d84cd547f622a825364de243199e37 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 11 May 2025 06:22:35 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963 - https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-6277421 - https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-8679228 - https://snyk.io/vuln/SNYK-DEBIAN12-KRB5-9712315 - https://snyk.io/vuln/SNYK-DEBIAN12-PERL-5489190 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f1fb96b..d3e757c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -FROM python:3.9-slim AS build-image +FROM python:3.13.2-slim AS build-image ENV PYTHONDONTWRITEBYTECODE 1 ENV GIT_PYTHON_TRACE 1 WORKDIR /code @@ -22,7 +22,7 @@ RUN apt-get update && apt-get install -y ssh netcat git RUN pip install pybuilder RUN pyb install -FROM python:3.9-slim +FROM python:3.13.2-slim ENV PYTHONDONTWRITEBYTECODE 1 ENV GIT_PYTHON_TRACE 1 WORKDIR /opt/pygsver