Skip to content

Commit

Permalink
update kubectl (#12018)
Browse files Browse the repository at this point in the history
  • Loading branch information
danking authored Jul 9, 2022
1 parent 69c0344 commit fe6c779
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM {{ hail_ubuntu_image.image }}
# source: https://cloud.google.com/storage/docs/gsutil_install#linux
RUN curl --remote-name https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-334.0.0-linux-x86_64.tar.gz && \
tar -xf google-cloud-sdk-334.0.0-linux-x86_64.tar.gz && \
curl --remote-name https://dl.k8s.io/release/v1.19.7/bin/linux/amd64/kubectl && \
curl --remote-name https://dl.k8s.io/release/v1.21.14/bin/linux/amd64/kubectl && \
install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
ENV PATH $PATH:/google-cloud-sdk/bin

Expand Down
2 changes: 1 addition & 1 deletion tls/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ FROM {{ hail_ubuntu_image.image }}
# jdk not strictly necessary, but we want keytool
RUN curl -sSLO https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-334.0.0-linux-x86_64.tar.gz && \
tar -xf google-cloud-sdk-334.0.0-linux-x86_64.tar.gz && \
curl -sSLO https://dl.k8s.io/release/v1.19.7/bin/linux/amd64/kubectl && \
curl -sSLO https://dl.k8s.io/release/v1.21.14/bin/linux/amd64/kubectl && \
install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl && \
hail-apt-get-install openssl openjdk-8-jdk-headless && \
sed -i 's/^RANDFILE/#RANDFILE/' /etc/ssl/openssl.cnf && \
Expand Down

0 comments on commit fe6c779

Please sign in to comment.