2024-04-10 09:33:07 +02:00
|
|
|
FROM python:3.12.3-alpine3.19@sha256:ef097620baf1272e38264207003b0982285da3236a20ed829bf6bbf1e85fe3cb
|
2024-03-25 08:04:09 +01:00
|
|
|
COPY --from=koalaman/shellcheck:v0.10.0@sha256:2097951f02e735b613f4a34de20c40f937a6c8f18ecb170612c88c34517221fb /bin/shellcheck /bin/
|
2023-09-20 18:54:54 +02:00
|
|
|
|
2024-01-18 14:53:54 +01:00
|
|
|
# renovate: datasource=repology depName=alpine_3_19/build-base versioning=loose
|
2023-09-22 14:55:28 +02:00
|
|
|
ENV BUILD_BASE_VERSION="0.5-r3"
|
2024-01-18 14:53:54 +01:00
|
|
|
# renovate: datasource=repology depName=alpine_3_19/gcc versioning=loose
|
|
|
|
ENV GCC_VERSION="13.2.1_git20231014-r0"
|
|
|
|
# renovate: datasource=repology depName=alpine_3_19/ruby versioning=loose
|
2024-05-16 09:04:18 +02:00
|
|
|
ENV RUBY_VERSION="3.2.4-r0"
|
2024-01-18 14:53:54 +01:00
|
|
|
# renovate: datasource=repology depName=alpine_3_19/git versioning=loose
|
2024-05-16 09:04:18 +02:00
|
|
|
ENV GIT_VERSION="2.43.4-r0"
|
2024-01-18 14:53:54 +01:00
|
|
|
# renovate: datasource=repology depName=alpine_3_19/openssh-keygen versioning=loose
|
|
|
|
ENV OPENSSH_KEYGEN_VERSION="9.6_p1-r0"
|
2023-09-22 14:49:03 +02:00
|
|
|
# renovate: datasource=pypi depName=pre-commit versioning=pep440
|
2024-05-16 09:04:18 +02:00
|
|
|
ENV PRE_COMMIT_VERSION="3.7.1"
|
2023-09-22 14:49:03 +02:00
|
|
|
# renovate: datasource=rubygems depName=mdl versioning=ruby
|
2023-10-02 02:52:13 +02:00
|
|
|
ENV MDL_VERSION="0.13.0"
|
2023-09-22 14:49:03 +02:00
|
|
|
|
2023-09-20 18:54:54 +02:00
|
|
|
RUN apk add --update --no-cache \
|
2023-09-22 14:49:03 +02:00
|
|
|
build-base="${BUILD_BASE_VERSION}" \
|
|
|
|
gcc="${GCC_VERSION}" \
|
2023-09-25 17:38:04 +02:00
|
|
|
ruby="${RUBY_VERSION}" \
|
2024-05-17 15:46:52 +02:00
|
|
|
ruby-dev="${RUBY_VERSION}" \
|
2023-09-22 14:49:03 +02:00
|
|
|
git="${GIT_VERSION}" \
|
|
|
|
openssh-keygen="${OPENSSH_KEYGEN_VERSION}" \
|
2023-09-20 18:54:54 +02:00
|
|
|
&& \
|
2023-09-25 17:38:04 +02:00
|
|
|
pip install --no-cache-dir pre-commit=="${PRE_COMMIT_VERSION}" && \
|
2023-09-22 14:49:03 +02:00
|
|
|
gem install --no-document mdl -v "${MDL_VERSION}" && \
|
2023-09-20 18:54:54 +02:00
|
|
|
mkdir /data && \
|
2023-09-25 17:38:04 +02:00
|
|
|
git config --global --add safe.directory /data
|
2023-09-20 18:54:54 +02:00
|
|
|
|
|
|
|
WORKDIR /data
|