Files
yamllint-docker/Dockerfile
T
CSRBot 9e464ab5cd
Build / build-arm64 (pull_request) Successful in 2m18s
Lint Markdown files / markdown-lint (pull_request) Successful in 12s
Build / build-amd64 (pull_request) Successful in 1m38s
chore(deps): update docker.io/library/python docker tag to v3.15.1
2026-10-23 19:12:09 +00:00

20 lines
456 B
Docker

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