Dockerfile: run apt-get upgrade

This commit is contained in:
Benjamin Renard 2024-02-13 13:15:48 +01:00
parent c6f2d856aa
commit 0bb3d86ab3
Signed by: bn8
GPG key ID: 3E2E1CE1907115BC

View file

@ -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/