File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -16,12 +16,11 @@ FROM alpine:latest
1616
1717USER root
1818
19- ENV KUBECTL_VERSION v1.20.2
2019COPY --from=gotty-build /gotty /usr/bin/
2120RUN ARCH=$(uname -m) && case $ARCH in aarch64) ARCH="arm64" ;; x86_64) ARCH="amd64" ;; esac && echo "ARCH: " $ARCH && \
2221 echo > /etc/apk/repositories && echo -e "https://dl-cdn.alpinelinux.org/alpine/latest-stable/main\n https://dl-cdn.alpinelinux.org/alpine/latest-stable/community" >> /etc/apk/repositories && \
2322 apk add --update --no-cache bash bash-completion curl git wget openssl iputils busybox-extras vim ncurses && sed -i "s/nobody:\/ /nobody:\/ nonexistent/g" /etc/passwd && \
24- curl -sLf https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION} /bin/linux/${ARCH}/kubectl > /usr/bin/kubectl && chmod +x /usr/bin/kubectl && \
23+ curl -sLf https://storage.googleapis.com/kubernetes-release/release/v1.20.5 /bin/linux/${ARCH}/kubectl > /usr/bin/kubectl && chmod +x /usr/bin/kubectl && \
2524 git clone --branch v0.8.0 https://github.com/ahmetb/kubectx /opt/kubectx && chmod -R 755 /opt/kubectx && ln -s /opt/kubectx/kubectx /usr/local/bin/kubectx && ln -s /opt/kubectx/kubens /usr/local/bin/kubens && \
2625 git clone --branch master --depth 1 https://github.com/ahmetb/kubectl-aliases /opt/kubectl-aliases && chmod -R 755 /opt/kubectl-aliases && \
2726 git clone --branch 0.21.0 --depth 1 https://github.com/junegunn/fzf /opt/fzf && chmod -R 755 /opt/fzf && /opt/fzf/install && ln -s /opt/fzf/bin/fzf /usr/local/bin/fzf && \
You can’t perform that action at this time.
0 commit comments