Add Docker image for pre-commit and dependencies

This commit is contained in:
Henrik HerHde Huettemann 2023-09-20 18:54:54 +02:00
parent dd46c7c16b
commit a13224f90d
Signed by: HueHe
GPG key ID: 9F7BD10E0A8A111E

16
Dockerfile Normal file
View file

@ -0,0 +1,16 @@
FROM python:3.11.5-alpine3.17
COPY --from=koalaman/shellcheck:v0.9.0 /bin/shellcheck /bin/
RUN apk add --update --no-cache \
build-base \
gcc \
ruby-full \
git \
openssh-keygen \
&& \
gem install mdl --no-document && \
pip install pre-commit && \
mkdir /data && \
git config --global --add safe.directory /data
WORKDIR /data