Skip to content

Commit

Permalink
Merge pull request #13 from jiaqiluo/update-k9s
Browse files Browse the repository at this point in the history
update k9s to v0.24.10
  • Loading branch information
cbron authored Jun 22, 2021
2 parents 86b218f + 91ecfc6 commit 8a53428
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ FROM alpine:3.12 AS build
ARG ARCH=amd64
RUN apk add -U curl xz
ENV KUBECTL_VERSION v1.19.7
ENV K9S_VERSION v0.24.10
RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/${ARCH}/kubectl && \
chmod +x kubectl
# the filename will be stwiched back to k9s_{OS}_{ARCH}.tar.gz in the next relase: https://github.com/derailed/k9s/issues/1131
# we need to revert the changes for the URL at that time
RUN if [ "${ARCH}" = "amd64" ]; then ARCH=x86_64; fi && \
curl -L https://github.com/derailed/k9s/releases/download/v0.20.2/k9s_Linux_${ARCH}.tar.gz | tar xvzf -
curl -sfL https://github.com/derailed/k9s/releases/download/${K9S_VERSION}/k9s_${K9S_VERSION}_Linux_${ARCH}.tar.gz | tar xvzf -

FROM alpine:3.12
RUN apk add -U --no-cache bash bash-completion jq
Expand Down

0 comments on commit 8a53428

Please sign in to comment.