Add Docker image for pre-commit and dependencies
This commit is contained in:
parent
dd46c7c16b
commit
a13224f90d
1 changed files with 16 additions and 0 deletions
16
Dockerfile
Normal file
16
Dockerfile
Normal 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
|
Loading…
Reference in a new issue