Skip to content

Commit

Permalink
installing kubectl
Browse files Browse the repository at this point in the history
  • Loading branch information
KrisSimon committed Jul 16, 2024
1 parent 66c6c2a commit bdfbacf
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions deployment/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,18 @@ RUN apt install -y \
lldb-15 rust-all \
openjdk-8-jdk \
lua-any lua-argparse lua-check lua-cjson lua-doc lua-event lua-filesystem lua-http lua-json lua-posix lua-socket lua-system lua5.4 luadoc luajit \
tzdata

# rust-lldb
tzdata \
kubecolor

# kube
RUN SYSARCH=$(arch); if [[ ${SYSARCH} == "aarch64" ]]; then SYSARCH=arm64; fi; \
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/${SYSARCH}/kubectl"; \
chmod 755 kubectl; mv kubectl /usr/local/bin/;

# helm
RUN curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null; \
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list; \
apt-get update; apt-get install helm -y; \

# fix LLDB
RUN apt install python3-lldb-14 -y; \
Expand Down

0 comments on commit bdfbacf

Please sign in to comment.