7 lines
425 B
Text
7 lines
425 B
Text
|
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 pylint3 git pre-commit && apt-get clean && rm -fr rm -rf /var/lib/apt/lists/*
|
||
|
RUN mkdir /tmp/src
|
||
|
COPY .pre-commit-config.yaml fake_python_module /tmp/src/
|
||
|
RUN cd /tmp/src && git init && git add * && pre-commit autoupdate && pre-commit run --all-files && rm -fr /tmp/src
|