Skip to content

Commit

Permalink
Only try to get the client version with kubectl
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Bernier St-Pierre committed Feb 7, 2023
1 parent b3fde1d commit fab1889
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/Dockerfile.suc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN ARCH=$(uname -m) && \
if [ "$ARCH" = "x86_64" ]; then ARCH=amd64; fi && \
curl -L -f -o /usr/bin/kubectl https://dl.k8s.io/release/v1.24.0/bin/linux/${ARCH}/kubectl && \
chmod +x /usr/bin/kubectl
RUN /usr/bin/kubectl version
RUN /usr/bin/kubectl version --client

ARG ALPINE=alpine:3.16.0
FROM ${ALPINE}
Expand Down

0 comments on commit fab1889

Please sign in to comment.