Skip to content

Commit 656ae3f

Browse files
committed
Add homebrew
1 parent 383c6e2 commit 656ae3f

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
FROM homebrew/brew
2+
3+
RUN sh -c "$(curl -fsSL https://github.com/deluan/zsh-in-docker/releases/download/v1.1.5/zsh-in-docker.sh)" -- \
4+
-t powerlevel10k/powerlevel10k \
5+
-p git \
6+
-p git-extras \
7+
-p https://github.com/zsh-users/zsh-completions
8+
RUN git clone https://github.com/romkatv/powerlevel10k $HOME/.oh-my-zsh/custom/themes/powerlevel10k
9+
RUN curl https://raw.githubusercontent.com/DonJayamanne/vscode-jupyter/containerChanges/.devcontainer/.p10k.zsh > ~/.p10k.zsh
10+
RUN echo "# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh." >> ~/.zshrc
11+
RUN echo "[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh" >> ~/.zshrc
12+
13+
# Install Pythone
14+
15+
16+
# Install Rust
17+
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
18+
RUN echo 'source $HOME/.cargo/env' >> $HOME/.bashrc
19+
ENV PATH="/root/.cargo/bin:${PATH}"
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"name": "linux-homebrew",
3+
"build": {
4+
"context": "../..",
5+
"dockerfile": "./Dockerfile"
6+
},
7+
"customizations": {
8+
"vscode": {
9+
"extensions": [
10+
"ms-python.python@prerelease",
11+
"esbenp.prettier-vscode",
12+
"rust-lang.rust-analyzer",
13+
"EditorConfig.EditorConfig"
14+
]
15+
}
16+
},
17+
"workspaceFolder": "/workspaces/python-environment-tools"
18+
}

0 commit comments

Comments
 (0)