mirror of
https://github.com/ibiqlik/action-yamllint.git
synced 2025-02-22 23:30:59 -05:00
14 lines
336 B
Docker
14 lines
336 B
Docker
FROM python:3-alpine AS base
|
|
|
|
RUN apk add --no-cache bash gcc musl-dev && \
|
|
pip install --root /yamllint 'yamllint>=1.25.0' && \
|
|
rm -rf ~/.cache/pip
|
|
|
|
FROM python:3-alpine AS builder
|
|
|
|
COPY --from=base /yamllint /yamllint
|
|
ENV PATH="/yamllint/usr/local/bin:${PATH}"
|
|
|
|
ADD entrypoint.sh /entrypoint.sh
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|