From a4cc68bf0accbb853023b00b5dd54c61649ec8b2 Mon Sep 17 00:00:00 2001 From: Don Jayamanne Date: Tue, 9 Sep 2025 11:01:24 +1000 Subject: [PATCH] Remove unwanted docker configs --- .devcontainer/dev-with-python/Dockerfile | 10 ---------- .devcontainer/dev/Dockerfile | 11 ----------- .devcontainer/test-alpine-arm64-python/Dockerfile | 9 --------- .devcontainer/test-alpine-arm64/Dockerfile | 10 ---------- .devcontainer/test-alpine-x64-python/Dockerfile | 9 --------- .devcontainer/test-alpine-x64/Dockerfile | 10 ---------- .devcontainer/test-linux-arm64-python/Dockerfile | 10 ---------- .devcontainer/test-linux-arm64/Dockerfile | 11 ----------- .devcontainer/test-linux-x64-python/Dockerfile | 14 -------------- .devcontainer/test-linux-x64/Dockerfile | 11 ----------- 10 files changed, 105 deletions(-) diff --git a/.devcontainer/dev-with-python/Dockerfile b/.devcontainer/dev-with-python/Dockerfile index 473fafd29a4..9309d05164f 100644 --- a/.devcontainer/dev-with-python/Dockerfile +++ b/.devcontainer/dev-with-python/Dockerfile @@ -30,13 +30,3 @@ RUN echo "source $NVM_DIR/nvm.sh && \ # [Optional] Uncomment this section to install additional OS packages. # RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ # && apt-get -y install --no-install-recommends - -RUN sh -c "$(curl -fsSL https://github.com/deluan/zsh-in-docker/releases/download/v1.1.5/zsh-in-docker.sh)" -- \ - -t powerlevel10k/powerlevel10k \ - -p git \ - -p git-extras \ - -p https://github.com/zsh-users/zsh-completions -RUN git clone https://github.com/romkatv/powerlevel10k $HOME/.oh-my-zsh/custom/themes/powerlevel10k -RUN curl https://raw.githubusercontent.com/DonJayamanne/vscode-jupyter/containerChanges/.devcontainer/.p10k.zsh > ~/.p10k.zsh -RUN echo "# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh." >> ~/.zshrc -RUN echo "[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh" >> ~/.zshrc diff --git a/.devcontainer/dev/Dockerfile b/.devcontainer/dev/Dockerfile index de6d695a7c2..0580735912c 100644 --- a/.devcontainer/dev/Dockerfile +++ b/.devcontainer/dev/Dockerfile @@ -27,14 +27,3 @@ RUN apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* /tm # # Finally install npm RUN echo "npm i -g npm@10.9.2" | bash - -RUN apt install curl -y -RUN sh -c "$(curl -fsSL https://github.com/deluan/zsh-in-docker/releases/download/v1.1.5/zsh-in-docker.sh)" -- \ - -t powerlevel10k/powerlevel10k \ - -p git \ - -p git-extras \ - -p https://github.com/zsh-users/zsh-completions -RUN git clone https://github.com/romkatv/powerlevel10k $HOME/.oh-my-zsh/custom/themes/powerlevel10k -RUN curl https://raw.githubusercontent.com/DonJayamanne/vscode-jupyter/containerChanges/.devcontainer/.p10k.zsh > ~/.p10k.zsh -RUN echo "# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh." >> ~/.zshrc -RUN echo "[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh" >> ~/.zshrc diff --git a/.devcontainer/test-alpine-arm64-python/Dockerfile b/.devcontainer/test-alpine-arm64-python/Dockerfile index cb196210f43..6b6bc5180f2 100644 --- a/.devcontainer/test-alpine-arm64-python/Dockerfile +++ b/.devcontainer/test-alpine-arm64-python/Dockerfile @@ -1,12 +1,3 @@ FROM arm64v8/python:3.11-alpine RUN apk add gcc libc-dev linux-headers musl-dev zlib zlib-dev python3-dev curl RUN python3 -m pip install ipykernel -RUN sh -c "$(curl -fsSL https://github.com/deluan/zsh-in-docker/releases/download/v1.1.5/zsh-in-docker.sh)" -- \ - -t powerlevel10k/powerlevel10k \ - -p git \ - -p git-extras \ - -p https://github.com/zsh-users/zsh-completions -RUN git clone https://github.com/romkatv/powerlevel10k $HOME/.oh-my-zsh/custom/themes/powerlevel10k -RUN curl https://raw.githubusercontent.com/DonJayamanne/vscode-jupyter/containerChanges/.devcontainer/.p10k.zsh > ~/.p10k.zsh -RUN echo "# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh." >> ~/.zshrc -RUN echo "[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh" >> ~/.zshrc diff --git a/.devcontainer/test-alpine-arm64/Dockerfile b/.devcontainer/test-alpine-arm64/Dockerfile index 884ec2ae89d..db9864152ee 100644 --- a/.devcontainer/test-alpine-arm64/Dockerfile +++ b/.devcontainer/test-alpine-arm64/Dockerfile @@ -1,11 +1 @@ FROM arm64v8/node:alpine -RUN apk add curl -RUN sh -c "$(curl -fsSL https://github.com/deluan/zsh-in-docker/releases/download/v1.1.5/zsh-in-docker.sh)" -- \ - -t powerlevel10k/powerlevel10k \ - -p git \ - -p git-extras \ - -p https://github.com/zsh-users/zsh-completions -RUN git clone https://github.com/romkatv/powerlevel10k $HOME/.oh-my-zsh/custom/themes/powerlevel10k -RUN curl https://raw.githubusercontent.com/DonJayamanne/vscode-jupyter/containerChanges/.devcontainer/.p10k.zsh > ~/.p10k.zsh -RUN echo "# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh." >> ~/.zshrc -RUN echo "[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh" >> ~/.zshrc diff --git a/.devcontainer/test-alpine-x64-python/Dockerfile b/.devcontainer/test-alpine-x64-python/Dockerfile index ba0f8332193..81bd2f9f0ee 100644 --- a/.devcontainer/test-alpine-x64-python/Dockerfile +++ b/.devcontainer/test-alpine-x64-python/Dockerfile @@ -1,12 +1,3 @@ FROM --platform=linux/amd64 python:3.11-alpine RUN apk add gcc libc-dev linux-headers musl-dev zlib zlib-dev python3-dev curl RUN python -m pip install ipykernel -RUN sh -c "$(curl -fsSL https://github.com/deluan/zsh-in-docker/releases/download/v1.1.5/zsh-in-docker.sh)" -- \ - -t powerlevel10k/powerlevel10k \ - -p git \ - -p git-extras \ - -p https://github.com/zsh-users/zsh-completions -RUN git clone https://github.com/romkatv/powerlevel10k $HOME/.oh-my-zsh/custom/themes/powerlevel10k -RUN curl https://raw.githubusercontent.com/DonJayamanne/vscode-jupyter/containerChanges/.devcontainer/.p10k.zsh > ~/.p10k.zsh -RUN echo "# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh." >> ~/.zshrc -RUN echo "[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh" >> ~/.zshrc diff --git a/.devcontainer/test-alpine-x64/Dockerfile b/.devcontainer/test-alpine-x64/Dockerfile index b59b67d1a3b..a9a3e17c9ed 100644 --- a/.devcontainer/test-alpine-x64/Dockerfile +++ b/.devcontainer/test-alpine-x64/Dockerfile @@ -1,11 +1 @@ FROM --platform=linux/amd64 alpine -RUN apk add curl -RUN sh -c "$(curl -fsSL https://github.com/deluan/zsh-in-docker/releases/download/v1.1.5/zsh-in-docker.sh)" -- \ - -t powerlevel10k/powerlevel10k \ - -p git \ - -p git-extras \ - -p https://github.com/zsh-users/zsh-completions -RUN git clone https://github.com/romkatv/powerlevel10k $HOME/.oh-my-zsh/custom/themes/powerlevel10k -RUN curl https://raw.githubusercontent.com/DonJayamanne/vscode-jupyter/containerChanges/.devcontainer/.p10k.zsh > ~/.p10k.zsh -RUN echo "# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh." >> ~/.zshrc -RUN echo "[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh" >> ~/.zshrc diff --git a/.devcontainer/test-linux-arm64-python/Dockerfile b/.devcontainer/test-linux-arm64-python/Dockerfile index fc9e6365a9b..d2c13baecd8 100644 --- a/.devcontainer/test-linux-arm64-python/Dockerfile +++ b/.devcontainer/test-linux-arm64-python/Dockerfile @@ -3,13 +3,3 @@ FROM arm64v8/ubuntu # Setup Python RUN apt-get update && apt-get install -y python3 python3-pip RUN python3 -m pip install ipykernel -RUN apt-get install wget -y -RUN sh -c "$(wget -qO- https://github.com/deluan/zsh-in-docker/releases/download/v1.1.5/zsh-in-docker.sh)" -- \ - -t powerlevel10k/powerlevel10k \ - -p git \ - -p git-extras \ - -p https://github.com/zsh-users/zsh-completions -RUN git clone https://github.com/romkatv/powerlevel10k $HOME/.oh-my-zsh/custom/themes/powerlevel10k -RUN wget -O ~/.p10k.zsh https://raw.githubusercontent.com/DonJayamanne/vscode-jupyter/containerChanges/.devcontainer/.p10k.zsh -RUN echo "# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh." >> ~/.zshrc -RUN echo "[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh" >> ~/.zshrc diff --git a/.devcontainer/test-linux-arm64/Dockerfile b/.devcontainer/test-linux-arm64/Dockerfile index 7ffa1e827f5..0ce1d54bca8 100644 --- a/.devcontainer/test-linux-arm64/Dockerfile +++ b/.devcontainer/test-linux-arm64/Dockerfile @@ -1,12 +1 @@ FROM arm64v8/node -RUN apt-get update -RUN apt-get install wget -y -RUN sh -c "$(wget -qO- https://github.com/deluan/zsh-in-docker/releases/download/v1.1.5/zsh-in-docker.sh)" -- \ - -t powerlevel10k/powerlevel10k \ - -p git \ - -p git-extras \ - -p https://github.com/zsh-users/zsh-completions -RUN git clone https://github.com/romkatv/powerlevel10k $HOME/.oh-my-zsh/custom/themes/powerlevel10k -RUN wget -O ~/.p10k.zsh https://raw.githubusercontent.com/DonJayamanne/vscode-jupyter/containerChanges/.devcontainer/.p10k.zsh -RUN echo "# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh." >> ~/.zshrc -RUN echo "[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh" >> ~/.zshrc diff --git a/.devcontainer/test-linux-x64-python/Dockerfile b/.devcontainer/test-linux-x64-python/Dockerfile index e1aa821b424..a2ab47f8e2c 100644 --- a/.devcontainer/test-linux-x64-python/Dockerfile +++ b/.devcontainer/test-linux-x64-python/Dockerfile @@ -3,17 +3,3 @@ FROM --platform=linux/amd64 ubuntu # Setup Python RUN apt-get update && apt-get install -y python3 python3-pip RUN python3 -m pip install ipykernel -# RUN apt install zsh -y -# RUN chsh -s $(which zsh) -# RUN sh -c "$(curl -fsSL https://github.com/deluan/zsh-in-docker/releases/download/v1.1.5/zsh-in-docker.sh)" -# RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/v1.1.1/zsh-in-docker.sh)" -- \ -RUN apt install curl -y -RUN sh -c "$(curl -fsSL https://github.com/deluan/zsh-in-docker/releases/download/v1.1.5/zsh-in-docker.sh)" -- \ - -t powerlevel10k/powerlevel10k \ - -p git \ - -p git-extras \ - -p https://github.com/zsh-users/zsh-completions -RUN git clone https://github.com/romkatv/powerlevel10k $HOME/.oh-my-zsh/custom/themes/powerlevel10k -RUN curl https://raw.githubusercontent.com/DonJayamanne/vscode-jupyter/containerChanges/.devcontainer/.p10k.zsh > ~/.p10k.zsh -RUN echo "# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh." >> ~/.zshrc -RUN echo "[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh" >> ~/.zshrc diff --git a/.devcontainer/test-linux-x64/Dockerfile b/.devcontainer/test-linux-x64/Dockerfile index 9e9b65f1fd9..b3caaf3e412 100644 --- a/.devcontainer/test-linux-x64/Dockerfile +++ b/.devcontainer/test-linux-x64/Dockerfile @@ -1,12 +1 @@ FROM --platform=linux/amd64 ubuntu -RUN apt-get update -RUN apt install curl -y -RUN sh -c "$(curl -fsSL https://github.com/deluan/zsh-in-docker/releases/download/v1.1.5/zsh-in-docker.sh)" -- \ - -t powerlevel10k/powerlevel10k \ - -p git \ - -p git-extras \ - -p https://github.com/zsh-users/zsh-completions -RUN git clone https://github.com/romkatv/powerlevel10k $HOME/.oh-my-zsh/custom/themes/powerlevel10k -RUN curl https://raw.githubusercontent.com/DonJayamanne/vscode-jupyter/containerChanges/.devcontainer/.p10k.zsh > ~/.p10k.zsh -RUN echo "# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh." >> ~/.zshrc -RUN echo "[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh" >> ~/.zshrc