From 21b2327b167c5ee277653cbc6d17cd95f4feb3ee Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 8 Oct 2024 22:06:41 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-DEBIAN11-ZLIB-6008961 - https://snyk.io/vuln/SNYK-DEBIAN11-DB53-2825168 - https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-521063 - https://snyk.io/vuln/SNYK-DEBIAN11-GLIBC-521063 - https://snyk.io/vuln/SNYK-DEBIAN11-TAR-523480 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 697df92c7..90e0d6e16 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Stage 1: Compile image -FROM python:3.10-slim-bullseye AS compile-image +FROM python:3.12.7-slim-bullseye AS compile-image WORKDIR /app RUN apt-get update && \ @@ -20,7 +20,7 @@ COPY . . RUN chmod +x ./entrypoint.sh ./wait-for-it.sh ./install_tool_dependencies.sh ./entrypoint_celery.sh # Stage 2: Build image -FROM python:3.10-slim-bullseye AS build-image +FROM python:3.12.7-slim-bullseye AS build-image WORKDIR /app RUN apt-get update && \