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:4fcb2f72dff0d2199de46f23250b1fab165caccd50c99f332cc6455cacc5b9f8
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.15.0 (#24) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [git-chglog/git-chglog](https://github.com/git-chglog/git-chglog) | minor | `v0.14.2` -> `v0.15.0` | --- ### Release Notes <details> <summary>git-chglog/git-chglog</summary> ### [`v0.15.0`](https://github.com/git-chglog/git-chglog/blob/master/CHANGELOG.md#v0150---2021-07-09) [Compare Source](https://github.com/git-chglog/git-chglog/compare/v0.14.2...v0.15.0) ##### Bug Fixes - **deps:** update module github.com/alecaivazis/survey/v2 to v2.2.14 ([#&#8203;158](https://github.com/git-chglog/git-chglog/issues/158)) - **deps:** update module github.com/alecaivazis/survey/v2 to v2.2.13 ([#&#8203;156](https://github.com/git-chglog/git-chglog/issues/156)) - **deps:** update module github.com/fatih/color to v1.12.0 ([#&#8203;150](https://github.com/git-chglog/git-chglog/issues/150)) - **deps:** update module github.com/fatih/color to v1.11.0 ([#&#8203;149](https://github.com/git-chglog/git-chglog/issues/149)) - **deps:** update module github.com/alecaivazis/survey/v2 to v2.2.12 ([#&#8203;147](https://github.com/git-chglog/git-chglog/issues/147)) ##### Chores - **deps:** update alpine docker tag to v3.14.0 ([#&#8203;153](https://github.com/git-chglog/git-chglog/issues/153)) ##### Features - Automatic link for gitlab merge requests ([#&#8203;160](https://github.com/git-chglog/git-chglog/issues/160)) </details> --- ### 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/24 Co-authored-by: Renovator Bot <renovator@rknet.org> Co-committed-by: Renovator Bot <renovator@rknet.org>
2021-07-12 07:11:30 +00:00
ENV CHGLOG_VERSION="${BUILD_VERSION:-v0.15.0}"
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"]