Files
yamllint-docker/Dockerfile
CSRBot db6c7ad31d
Some checks failed
Build / build-amd64 (pull_request) Failing after 15s
Lint Markdown files / markdown-lint (pull_request) Successful in 4s
Build / build-arm64 (pull_request) Failing after 42s
chore(deps): update docker.io/library/python docker tag to v3.14.1
2025-12-03 02:13:36 +00:00

20 lines
456 B
Docker

FROM docker.io/library/python:3.14.1-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" ]