You've already forked yamllint-docker
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@ -0,0 +1,16 @@
|
||||
FROM docker.io/library/alpine:3.17.1 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 pip install /tmp/yamllint && \
|
||||
rm -rf /tmp/yamllint
|
||||
|
||||
WORKDIR /workspace
|
||||
|
||||
ENTRYPOINT [ "/usr/bin/yamllint" ]
|
Reference in New Issue
Block a user