Skip to content

Commit bbe7d71

Browse files
authored
Update Dockerfile
1 parent 27ee8c7 commit bbe7d71

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

Dockerfile

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,24 @@
11
FROM codercom/code-server:3.8.0
2-
RUN sudo apt-get -y update && sudo apt-get -y install wget python3-pip pipenv cmake
2+
3+
RUN sudo apt-get -y update && \
4+
sudo apt-get -y install wget \
5+
python3-pip \
6+
pipenv \
7+
cmake \
8+
bash-completion
9+
310
RUN sudo wget "https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl" -O /usr/local/bin/kubectl && \
411
sudo chmod +x /usr/local/bin/kubectl
5-
RUN curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash
12+
13+
RUN sudo sh -c "kubectl completion bash >/etc/bash_completion.d/kubectl"
14+
15+
RUN curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 && \
16+
chmod 700 get_helm.sh && \
17+
./get_helm.sh
18+
619
RUN sudo wget https://dl.min.io/client/mc/release/linux-amd64/mc -O /usr/local/bin/mc && \
720
sudo chmod +x /usr/local/bin/mc
21+
822
ENV PYTHONPATH="${PYTHONPATH}:/home/coder/.local/bin"
923
ENV PATH="/home/coder/.local/bin:${PATH}"
1024
ADD requirements.txt /home/coder/requirements.txt

0 commit comments

Comments
 (0)