Skip to content

Commit

Permalink
fix: upgrade kubectl due to vuln
Browse files Browse the repository at this point in the history
  • Loading branch information
vexingly committed Nov 4, 2024
1 parent eb5375c commit 2979f19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mpi-operator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ RUN sed -i "s/[ #]\(.*StrictHostKeyChecking \).*/ \1no/g" /etc/ssh/ssh_config \
&& sed -i "s/#\(Port \).*/\1$port/g" /etc/ssh/sshd_config

# Install kubectl cli to be able to utilize file transfer functionality between containers
ARG KUBECTL_VERSION=v1.28.2
ARG KUBECTL_VERSION=v1.31.2
ARG KUBECTL_URL=https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl
ARG KUBECTL_SHA=c922440b043e5de1afa3c1382f8c663a25f055978cbc6e8423493ec157579ec5
ARG KUBECTL_SHA=399e9d1995da80b64d2ef3606c1a239018660d8b35209fba3f7b0bc11c631c68

RUN curl -LO "${KUBECTL_URL}" \
&& echo "${KUBECTL_SHA} kubectl" | sha256sum -c - \
Expand Down
4 changes: 2 additions & 2 deletions ompp-run-ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ RUN GO_VER=1.22.5; \
rm /tmp/go_setup.tar.gz

# Install kubectl cli to be able to utilize file transfer functionality between containers
ARG KUBECTL_VERSION=v1.28.2
ARG KUBECTL_VERSION=v1.31.2
ARG KUBECTL_URL=https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl
ARG KUBECTL_SHA=c922440b043e5de1afa3c1382f8c663a25f055978cbc6e8423493ec157579ec5
ARG KUBECTL_SHA=399e9d1995da80b64d2ef3606c1a239018660d8b35209fba3f7b0bc11c631c68

RUN curl -LO "${KUBECTL_URL}" \
&& echo "${KUBECTL_SHA} kubectl" | sha256sum -c - \
Expand Down

0 comments on commit 2979f19

Please sign in to comment.