Skip to content

Commit

Permalink
Update to kubectl-1.25.1, werf-1.2.162+fix1, helm-secrets-4.0.0, helm… (
Browse files Browse the repository at this point in the history
#53)

* Update to kubectl-1.25.1, werf-1.2.162+fix1, helm-secrets-4.0.0, helmfile-0.146.0

* Decrease image size by cleanup plugins sources
  • Loading branch information
evgkrsk authored Sep 20, 2022
1 parent 9e9f53b commit 03a92cd
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN set -ex && \
:

# https://storage.googleapis.com/kubernetes-release/release/stable.txt
ENV KUBECTL_VERSION 1.25.0
ENV KUBECTL_VERSION 1.25.1
RUN set -ex && \
curl -sSL https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl -o /usr/local/bin/kubectl && \
chmod +x /usr/local/bin/kubectl && \
Expand All @@ -20,7 +20,7 @@ RUN set -ex && \

# rock-solid 1.2 channel: https://raw.githubusercontent.com/werf/werf/main/trdl_channels.yaml
# WORKAROUND: https://storage.googleapis.com/werf-tuf/targets/releases/$WERF_VERSION/linux-amd64/bin/werf
ENV WERF_VERSION 1.2.162
ENV WERF_VERSION 1.2.162+fix1
ENV WERF_HELM3_MODE 1
RUN set -ex && \
curl --resolve tuf.werf.io:443:54.38.250.137,46.148.230.218,77.223.120.232 -vsSL "https://tuf.werf.io/targets/releases/$WERF_VERSION/linux-amd64/bin/werf" -o /usr/local/bin/werf && \
Expand All @@ -43,16 +43,18 @@ ENV HELM_DIFF_IGNORE_UNKNOWN_FLAGS=true
RUN set -ex && \
helm plugin install https://github.com/databus23/helm-diff --version v3.5.0 && \
upx -9 /root/.local/share/helm/plugins/helm-diff/bin/diff && \
helm plugin install https://github.com/jkroepke/helm-secrets --version v3.15.0 && \
helm plugin install https://github.com/jkroepke/helm-secrets --version v4.0.0 && \
helm plugin install https://github.com/hypnoglow/helm-s3.git --version v0.14.0 && \
upx -9 /root/.local/share/helm/plugins/helm-s3.git/bin/helm-s3 && \
rm -rf /root/.local/share/helm/plugins/helm-s3.git/.git && \
rm -rf /root/.local/share/helm/plugins/helm-s3.git/releases && \
helm plugin install https://github.com/aslafy-z/helm-git.git --version v0.11.2 && \
helm plugin install https://github.com/marckhouzam/helm-fullstatus --version v0.3.0 && \
rm -rf /tmp/helm* && rm -rf /root/.cache/helm \
:

# https://github.com/helmfile/helmfile/releases
ENV HELMFILE_VERSION 0.145.5
ENV HELMFILE_VERSION 0.146.0
RUN set -ex && \
curl -sSL https://github.com/helmfile/helmfile/releases/download/v${HELMFILE_VERSION}/helmfile_${HELMFILE_VERSION}_linux_amd64.tar.gz | tar xz && \
mv helmfile /usr/local/bin/helmfile && \
Expand Down

0 comments on commit 03a92cd

Please sign in to comment.