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

31 lines
1.3 KiB
Docker
Raw Normal View History

FROM thegeeklab/alpine:latest@sha256:1d985a44c907f1dafaeaeb40f52b569c8f52877491fe12f9262084d1875b91d4
2021-02-10 20:22:23 +00:00
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
chore(deps): update dependency git-chglog/git-chglog to v0.14.1 (#19) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [git-chglog/git-chglog](https://github.com/git-chglog/git-chglog) | patch | `v0.14.0` -> `v0.14.1` | --- ### Release Notes <details> <summary>git-chglog/git-chglog</summary> ### [`v0.14.1`](https://github.com/git-chglog/git-chglog/blob/master/CHANGELOG.md#v0141---2021-04-13) [Compare Source](https://github.com/git-chglog/git-chglog/compare/v0.14.0...v0.14.1) ##### Bug Fixes - **template:** address regression in string functions for template engine ([#&#8203;142](https://github.com/git-chglog/git-chglog/issues/142)) ##### Chores - add docker target to Makefile ([#&#8203;138](https://github.com/git-chglog/git-chglog/issues/138)) - add make release target ([#&#8203;130](https://github.com/git-chglog/git-chglog/issues/130)) - **deps:** update alpine docker tag to v3.13.4 ([#&#8203;136](https://github.com/git-chglog/git-chglog/issues/136)) ##### Features - add docker image on release and master ([#&#8203;135](https://github.com/git-chglog/git-chglog/issues/135)) </details> --- ### Renovate configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). Reviewed-on: https://gitea.rknet.org/docker/git-chglog/pulls/19 Co-authored-by: Renovator Bot <renovator@rknet.org> Co-committed-by: Renovator Bot <renovator@rknet.org>
2021-04-14 14:38:17 +00:00
ENV CHGLOG_VERSION="${BUILD_VERSION:-v0.14.1}"
2021-02-10 20:22:23 +00:00
COPY overlay/ /
2021-02-10 20:44:39 +00:00
RUN apk add --update --no-cache --virtual .build-deps tar curl && \
2021-02-10 20:22:23 +00:00
apk add --update --no-cache git && \
2021-02-10 20:50:49 +00:00
echo "Installing git-chglog version '${CHGLOG_VERSION##v}' ..." && \
2021-02-10 20:44:39 +00:00
curl -SsL "https://github.com/git-chglog/git-chglog/releases/download/${CHGLOG_VERSION}/git-chglog_${CHGLOG_VERSION##v}_linux_amd64.tar.gz" | \
2021-02-10 20:50:49 +00:00
tar xz -C /usr/local/bin git-chglog && \
2021-02-10 20:44:39 +00:00
chmod 755 /usr/local/bin/git-chglog && \
2021-02-10 20:22:23 +00:00
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"]