Files
ansible-lint/Dockerfile
T
opencodecabilloteu 23363f9764
Docker Build and Push / lint (push) Successful in 7s
Docker Build and Push / build (push) Successful in 1m3s
Docker Build and Push / lint (pull_request) Successful in 7s
Docker Build and Push / test (push) Successful in 32s
Docker Build and Push / build (pull_request) Successful in 56s
Docker Build and Push / push (push) Successful in 30s
Docker Build and Push / test (pull_request) Successful in 16s
Docker Build and Push / push (pull_request) Has been skipped
chore: improve renovate dependency detection
2026-06-09 02:12:45 +00:00

29 lines
1.3 KiB
Docker

FROM python:3.14-alpine
ARG BUILD_DATE
ARG VCS_REF
ARG VERSION
ARG ANSIBLE_LINT_VERSION=26.4.0
# hadolint ignore=DL3018,DL3013
RUN apk --no-cache add --virtual build-dependencies \
build-base libffi-dev libressl-dev && \
pip install --no-cache-dir ansible-lint==${ANSIBLE_LINT_VERSION} && \
apk del build-dependencies
LABEL "maintainer"="dockerimages@cabillot.eu" \
"org.label-schema.name"="ansible-lint" \
"org.label-schema.base-image.name"="docker.io/library/python" \
"org.label-schema.base-image.version"="3.7-alpine" \
"org.label-schema.description"="Ansible-lint in a container" \
"org.label-schema.url"="https://github.com/ansible/ansible-lint" \
"org.label-schema.vcs-url"="https://gitlab.cabillot.eu/jcabillot/ansible-lint/" \
"org.label-schema.vendor"="Julien Cabillot" \
"org.label-schema.schema-version"="1.0" \
"org.label-schema.applications.ansiblelint.version"="latest" \
"org.label-schema.vcs-ref"="$VCS_REF" \
"org.label-schema.version"="$VERSION" \
"org.label-schema.build-date"="$BUILD_DATE" \
"org.label-schema.usage"="docker run --rm -v $(pwd):/data registry.cabillot.eu/jcabillot/ansible-lint -p /data"
ENTRYPOINT [ "/usr/local/bin/ansible-lint" ]
CMD [ "--help" ]