FROM thegeeklab/alpine:latest@sha256:686ad37427ebcbccddafea3ea52cbd4f5d76c747b324220239ab17790e5e8cb3 LABEL maintainer="Robert Kaussow " LABEL org.opencontainers.image.authors="Robert Kaussow " LABEL org.opencontainers.image.title="git-chglog" LABEL org.opencontainers.image.url="https://gitea.rknet.org/docker/git-chglog" LABEL org.opencontainers.image.source="https://gitea.rknet.org/docker/git-chglog" LABEL org.opencontainers.image.documentation="https://gitea.rknet.org/docker/git-chglog" ARG BUILD_VERSION # renovate: datasource=github-releases depName=git-chglog/git-chglog ENV CHGLOG_VERSION="${BUILD_VERSION:-v0.15.4}" COPY overlay/ / RUN apk add --update --no-cache --virtual .build-deps tar curl && \ apk add --update --no-cache git && \ echo "Installing git-chglog version '${CHGLOG_VERSION##v}' ..." && \ curl -SsfL "https://github.com/git-chglog/git-chglog/releases/download/${CHGLOG_VERSION}/git-chglog_${CHGLOG_VERSION##v}_linux_amd64.tar.gz" | \ tar xz -C /usr/local/bin git-chglog && \ chmod 755 /usr/local/bin/git-chglog && \ apk del .build-deps && \ rm -rf /var/cache/apk/* && \ rm -rf /tmp/* && \ rm -rf /root/.cache/ USER root CMD [] ENTRYPOINT ["/usr/local/bin/git-chglog"]