-
Notifications
You must be signed in to change notification settings - Fork 26
Fix conda detection #55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
1cb070f
wip
DonJayamanne b75fed8
Fixes
DonJayamanne c08db88
wip
DonJayamanne debf254
wip
DonJayamanne fa183f4
wip
DonJayamanne 763481c
wip
DonJayamanne 7a402cc
post start command
DonJayamanne 1860f3e
fixes
DonJayamanne 0bfa762
wip
DonJayamanne File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Based off, https://github.com/github/codespaces-jupyter | ||
FROM mcr.microsoft.com/devcontainers/universal:2 | ||
|
||
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 | ||
# Install Rust | ||
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y | ||
RUN echo 'source $HOME/.cargo/env' >> $HOME/.bashrc | ||
ENV PATH="/root/.cargo/bin:${PATH}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
// Based off, https://github.com/github/codespaces-jupyter | ||
// Making this the top level container so it works on codespaces, | ||
// Cannot always use locally as this is only x64 compatible | ||
"name": "codespaces-jupyter", | ||
"image": "mcr.microsoft.com/devcontainers/universal:2", | ||
"waitFor": "onCreateCommand", | ||
"postCreateCommand": "bash ./.devcontainer/setup.sh", | ||
"customizations": { | ||
"vscode": { | ||
"extensions": [ | ||
"ms-python.python@prerelease", | ||
"esbenp.prettier-vscode", | ||
"rust-lang.rust-analyzer", | ||
"EditorConfig.EditorConfig" | ||
] | ||
} | ||
}, | ||
"workspaceFolder": "/workspaces/python-environment-tools" | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
|
||
# 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 | ||
# git clone https://github.com/romkatv/powerlevel10k $HOME/.oh-my-zsh/custom/themes/powerlevel10k | ||
# curl https://raw.githubusercontent.com/DonJayamanne/vscode-jupyter/containerChanges/.devcontainer/.p10k.zsh > ~/.p10k.zsh | ||
# echo "# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh." >> ~/.zshrc | ||
# echo "[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh" >> ~/.zshrc | ||
|
||
# Install Rust | ||
curl https://sh.rustup.rs -sSf | sh -s -- -y | ||
echo 'source $HOME/.cargo/env' >> $HOME/.bashrc | ||
PATH="/root/.cargo/bin:${PATH}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,7 +38,7 @@ clap = { version = "4.5.4", features = ["derive", "cargo"] } | |
serde = { version = "1.0.152", features = ["derive"] } | ||
serde_json = "1.0.93" | ||
|
||
[dev_dependencies] | ||
[dev-dependencies] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. New format is |
||
regex = "1.10.4" | ||
lazy_static = "1.4.0" | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a dev container for testing of this scenario identified