This repository has been archived on 2023-10-18. You can view files and clone it, but cannot push or open issues or pull requests.
git-chglog/Dockerfile
Renovator Bot 4b02767040
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is passing
chore(deps): update dependency git-chglog/git-chglog to v0.15.3 (#80)
Co-authored-by: Renovator Bot <renovator@rknet.org>
Co-committed-by: Renovator Bot <renovator@rknet.org>
2023-02-12 12:18:48 +01:00

31 lines
1.3 KiB
Docker

FROM thegeeklab/alpine:latest@sha256:883c0d7816fa8d5bfe13878faf3f64bc0c3e62a2bc76cb0943309e3b63d84b2d
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
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.3}"
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"]