From 4d0e3cc6d39a524bc5776952655667669b00301f Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 28 Sep 2024 08:37:58 +0000 Subject: [PATCH 1/2] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN12-EXPAT-7855502 - https://snyk.io/vuln/SNYK-DEBIAN12-EXPAT-7855503 - https://snyk.io/vuln/SNYK-DEBIAN12-EXPAT-7855507 - https://snyk.io/vuln/SNYK-DEBIAN12-ZLIB-6008963 - https://snyk.io/vuln/SNYK-DEBIAN12-OPENSSL-6592092 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 847b2f4..e147b16 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.13.0b3-slim +FROM python:3.13.0rc2-slim LABEL maintainer="Arie Lev " \ description="Python version bumper" From 0d02163fad89affb9dca3038c5a07f21421cdae2 Mon Sep 17 00:00:00 2001 From: arielev Date: Sat, 28 Sep 2024 17:08:15 +0300 Subject: [PATCH 2/2] add setuptools installation --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index e147b16..d6a13d7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,6 +13,7 @@ COPY setup.py . COPY LICENSE . COPY README.rst . COPY requirements.txt . +RUN pip install setuptools RUN python ./setup.py install WORKDIR /