From e5058bddfd49ce1d1785fc9676445b216d72c0ea Mon Sep 17 00:00:00 2001 From: Sheogorath <sheogorath@shivering-isles.com> Date: Wed, 14 Sep 2022 19:51:09 +0200 Subject: [PATCH] feat(koolbox): add svu binary svu is a cli that generates version numbers in a UNIX way, which allows it to be used in combination with various tools, helping to reduce overhead for changelogs and other things. --- images/koolbox/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/images/koolbox/Dockerfile b/images/koolbox/Dockerfile index 00af28e75..6e4b82350 100644 --- a/images/koolbox/Dockerfile +++ b/images/koolbox/Dockerfile @@ -17,6 +17,9 @@ RUN curl -LO "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubec # Release CLI cache FROM registry.gitlab.com/gitlab-org/release-cli:latest@sha256:45af0719567c4d7f6204996fbfc25b00741d8ae14ed45c59010af938d3aa16a0 as release-cli +# Semantic Version Util - svu - https://github.com/caarlos0/svu +FROM ghcr.io/caarlos0/svu:v1.9.0 as svu + # git-chglog cache FROM quay.io/git-chglog/git-chglog:0.15.1 as git-chglog @@ -164,6 +167,7 @@ COPY --from=kubectl-krew /opt/krew/krew /usr/local/bin/kubectl-krew COPY --from=mdbook /usr/local/bin/mdbook /usr/local/bin/mdbook COPY --from=release-cli /usr/local/bin/release-cli /usr/local/bin/release-cli COPY --from=git-chglog /usr/local/bin/git-chglog /usr/local/bin/git-chglog +COPY --from=svu /usr/local/bin/svu /usr/local/bin/svu RUN true \ && echo "command -v kubectl-krew >/dev/null && export PATH=\"${KREW_ROOT:-$HOME/.krew}/bin:$PATH\"" >> /root/.bashrc \ -- GitLab