From 0bb3d86ab3ef0abfba6b3b1464ae07f10448d2ff Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Tue, 13 Feb 2024 13:15:48 +0100 Subject: [PATCH] Dockerfile: run apt-get upgrade --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 22481dc..bbfefc6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ from debian:stable-slim -RUN apt-get update && apt-get install --no-install-recommends -y python3-all python3-dev python3-pip python3-venv build-essential pylint git && apt-get clean && rm -fr rm -rf /var/lib/apt/lists/* +RUN apt-get update && apt-get upgrade -y && apt-get install --no-install-recommends -y python3-all python3-dev python3-pip python3-venv build-essential pylint git && apt-get clean && rm -fr rm -rf /var/lib/apt/lists/* RUN pip install pre-commit --break-system-packages RUN mkdir /tmp/src COPY .pre-commit-config.yaml .pre-commit-pylint fake_python_module /tmp/src/