Skip to content

Commit

Permalink
ADD minikube k9s kubectl
Browse files Browse the repository at this point in the history
  • Loading branch information
wabscale committed Mar 10, 2024
1 parent ae62115 commit cff8d6d
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion theia-base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ RUN set -ex; \
apt upgrade -y; \
apt-get install -y --no-install-recommends \
wget gpg gnupg apt-transport-https ca-certificates \
apt-utils pkg-config curl lsb-release; \
apt-utils pkg-config curl lsb-release autoconf; \
\
`# Add LLVM to apt` \
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -; \
Expand Down Expand Up @@ -250,6 +250,29 @@ RUN set -eux; \
COPY motd.txt /etc/motd
COPY docker-entrypoint.sh supervisord.conf initialize-ide.py /

ENV K9S_VERSION=v0.32.3 MINIKUBE_HOME=/minikube

RUN set -eux; \
\
`# minikube`; \
mkdir -p /minikube; \
chown anubis:anubis /minikube; \
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64; \
install minikube-linux-amd64 /usr/local/bin/minikube; \
rm -f minikube-linux-amd64; \
chmod +x /usr/local/bin/minikube; \
\
`# kubectl` \
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"; \
install kubectl /usr/local/bin/kubectl; \
chmod +x /usr/local/bin/kubectl; \
rm kubectl; \
\
`# k9s`; \
wget https://github.com/derailed/k9s/releases/download/${K9S_VERSION}/k9s_linux_amd64.deb; \
dpkg -i k9s_linux_amd64.deb


USER ${USER}
WORKDIR /opt/anubis
ENTRYPOINT ["/docker-entrypoint.sh"]

0 comments on commit cff8d6d

Please sign in to comment.