2023-09-20 18:54:54 +02:00
|
|
|
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 \
|
2023-09-21 18:40:48 +02:00
|
|
|
ruby \
|
2023-09-20 18:54:54 +02:00
|
|
|
git \
|
|
|
|
openssh-keygen \
|
|
|
|
&& \
|
2023-09-21 18:40:48 +02:00
|
|
|
pip install --no-cache-dir pre-commit && \
|
|
|
|
gem install --no-document mdl && \
|
2023-09-20 18:54:54 +02:00
|
|
|
mkdir /data && \
|
2023-09-21 18:40:48 +02:00
|
|
|
adduser -D -g user user
|
2023-09-20 18:54:54 +02:00
|
|
|
|
2023-09-21 18:40:48 +02:00
|
|
|
USER user:user
|
2023-09-20 18:54:54 +02:00
|
|
|
WORKDIR /data
|