# https://endoflife.date/alpine
FROM alpine:3.18
ARG HADOLINT_VERSION
ENV HADOLINT_VERSION ${HADOLINT_VERSION}
RUN wget -nv https://github.com/hadolint/hadolint/releases/download/v${HADOLINT_VERSION}/hadolint-Linux-x86_64 -O /usr/local/bin/hadolint \
&& chmod +x /usr/local/bin/hadolint
# needed for gitea act runner
RUN apk add --no-cache nodejs git