2024-05-13 13:12:34 +00:00
|
|
|
FROM docker.io/library/alpine:3.19.1 AS build
|
2023-02-11 13:36:33 +00:00
|
|
|
|
|
|
|
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 pip install /tmp/yamllint && \
|
|
|
|
rm -rf /tmp/yamllint
|
|
|
|
|
|
|
|
WORKDIR /workspace
|
|
|
|
|
|
|
|
ENTRYPOINT [ "/usr/bin/yamllint" ]
|