Add explicit kubectl sha256 check

This commit is contained in:
Andrejs Cunskis 2022-04-29 16:08:04 +03:00
parent dd3ad9e4c9
commit 423759a39f
No known key found for this signature in database
GPG key ID: 87CB75083F227241
3 changed files with 6 additions and 5 deletions

View file

@ -90,8 +90,9 @@ RUN if [ -n "$GCLOUD_VERSION" ] ; then /scripts/install-gcloud $GCLOUD_VERSION;
# Kubectl
ARG KUBECTL_VERSION
ARG KUBECTL_DOWNLOAD_SHA256
RUN if [ -n "$KUBECTL_VERSION" ] ; then /scripts/install-kubectl $KUBECTL_VERSION; fi
RUN if [ -n "$KUBECTL_VERSION" ] ; then /scripts/install-kubectl $KUBECTL_VERSION $KUBECTL_DOWNLOAD_SHA256; fi
RUN locale-gen C.UTF-8
ENV LANG=C.UTF-8 \