This commit is contained in:
parent
9c6b505643
commit
4e2fb147be
@ -1,14 +1,14 @@
|
|||||||
# alpine version
|
|
||||||
FROM alpine:3.18
|
|
||||||
|
|
||||||
# renovate: datasource=pypi depName=ansible-core versioning=pep440
|
# renovate: datasource=pypi depName=ansible-core versioning=pep440
|
||||||
ENV ANSIBLE_VERSION=2.13.11
|
ARG ANSIBLE_VERSION=2.13.11
|
||||||
|
|
||||||
# renovate: datasource=pypi depName=ansible-lint versioning=pep440
|
# renovate: datasource=pypi depName=ansible-lint versioning=pep440
|
||||||
ENV ANSIBLE_LINT_VERSION=6.22.0
|
ARG ANSIBLE_LINT_VERSION=6.22.0
|
||||||
|
|
||||||
# renovate: datasource=pypi depName=yamllint versioning=pep440
|
# renovate: datasource=pypi depName=yamllint versioning=pep440
|
||||||
ENV YAMLLINT_VERSION=1.32.0
|
ARG YAMLLINT_VERSION=1.32.0
|
||||||
|
|
||||||
|
# alpine version
|
||||||
|
FROM alpine:3.18
|
||||||
|
|
||||||
# install software
|
# install software
|
||||||
RUN apk update
|
RUN apk update
|
||||||
@ -25,6 +25,11 @@ RUN apk add --no-cache \
|
|||||||
# cleanup
|
# cleanup
|
||||||
RUN rm -rf /var/cache/apk/*
|
RUN rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
|
# arguments
|
||||||
|
ARG ANSIBLE_VERSION
|
||||||
|
ARG ANSIBLE_LINT_VERSION
|
||||||
|
ARG YAMLLINT_VERSION
|
||||||
|
|
||||||
# install ansible + linters
|
# install ansible + linters
|
||||||
RUN pip3 install --upgrade pip
|
RUN pip3 install --upgrade pip
|
||||||
RUN pip3 install --use-pep517 --ignore-installed \
|
RUN pip3 install --use-pep517 --ignore-installed \
|
||||||
|
Loading…
Reference in New Issue
Block a user