Files
yamllint-docker/Dockerfile
CSRBot e22e4c92ce
All checks were successful
Lint Markdown files / markdown-lint (pull_request) Successful in 20s
Build / build-amd64 (pull_request) Successful in 29s
Build / build-arm64 (pull_request) Successful in 1m26s
chore(deps): update docker.io/library/python docker tag to v3.13.7
2025-08-16 01:12:51 +00:00

20 lines
456 B
Docker

FROM docker.io/library/python:3.13.7-alpine AS build
ARG YAMLLINT_VERSION=master
RUN set -ex && \
apk update && \
apk upgrade && \
apk add git python3 py-pip
RUN git clone --branch ${YAMLLINT_VERSION} https://github.com/adrienverge/yamllint /tmp/yamllint && \
python3 -m venv /venv && \
/venv/bin/pip3 install /tmp/yamllint && \
rm -r -f /tmp/yamllint
ENV PATH="/venv/bin:${PATH}"
WORKDIR /workspace
ENTRYPOINT [ "yamllint" ]