Skip to content

Commit

Permalink
chore: use gz file
Browse files Browse the repository at this point in the history
  • Loading branch information
erguotou520 committed Jul 3, 2024
1 parent d02f64f commit 5bafd34
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ LABEL MAINTAINER="erguotou <[email protected]>"
# ARG KUBE_VERSION="v1.29.2"

COPY entrypoint.sh /entrypoint.sh
COPY kubectl /usr/local/bin/kubectl
COPY kubectl.tar.gz /kubectl.tar.gz

RUN chmod +x /entrypoint.sh && \
RUN tar -zxvf /kubectl.tar.gz -C /usr/local/bin/ && \
chmod +x /entrypoint.sh && \
chmod +x /usr/local/bin/kubectl
# apk add --no-cache --update openssl curl ca-certificates && \
# rm -rf /var/cache/apk/*
Expand Down
Binary file removed kubectl
Binary file not shown.
Binary file added kubectl.tar.gz
Binary file not shown.

0 comments on commit 5bafd34

Please sign in to comment.