From a13224f90df4b01e6ef8b8f876745f81f1430227 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20H=C3=BCttemann?= Date: Wed, 20 Sep 2023 18:54:54 +0200 Subject: [PATCH] Add Docker image for pre-commit and dependencies --- Dockerfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..35300df --- /dev/null +++ b/Dockerfile @@ -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