From ac928b9f8fbef0bb11c41803e53ad79da5d7c7f9 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Fri, 19 Jan 2024 15:40:59 +0000 Subject: [PATCH] fix: Dockerfile to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-ALPINE319-OPENSSL-6148881 - https://snyk.io/vuln/SNYK-ALPINE319-OPENSSL-6148881 - https://snyk.io/vuln/SNYK-ALPINE319-OPENSSL-6159994 - https://snyk.io/vuln/SNYK-ALPINE319-OPENSSL-6159994 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index cc4ed76..7de7451 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-alpine as base +FROM python:3.13.0a3-alpine as base RUN python3 -m pip install poetry RUN python3 -m poetry config virtualenvs.in-project true FROM base as build @@ -8,7 +8,7 @@ RUN apk update RUN apk add --no-cache make gcc linux-headers build-base RUN python3 -m poetry install RUN apk del gcc linux-headers build-base -FROM python:3.10-alpine as run +FROM python:3.13.0a3-alpine as run WORKDIR /bot COPY --from=build /bot . ENV JISHAKU_HIDE=1