-
-
Notifications
You must be signed in to change notification settings - Fork 482
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.devcontainer/downstream-docker-sagemath-sagemath*: New
- Loading branch information
Matthias Koeppe
committed
Mar 5, 2024
1 parent
5269779
commit 9d95d06
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
.devcontainer/downstream-docker-sagemath-sagemath-develop/devcontainer.json
This file contains 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,18 @@ | ||
// See https://aka.ms/devcontainer.json for format details. | ||
{ | ||
"name": "sagemath/sagemath:develop Docker", | ||
"image": "sagemath/sagemath:develop", | ||
"containerEnv": { | ||
"MAKE": "make -j4" | ||
}, | ||
"onCreateCommand": ".devcontainer/onCreate.sh", | ||
// * If the workspace directory looks like a copy of the Sage source tree (SAGE_ROOT): | ||
// - it bootstraps the Sage distribution, | ||
// - sets the symlink ``venv`` as expected, | ||
// * Otherwise, it does nothing. This is so that users can copy this devcontainer.json file as is | ||
// into their projects. | ||
"updateContentCommand": "if [ -d pkgs/sagemath-standard ]; then make configure && ./configure --prefix=/home/sage/sage/local --with-sage-venv; else echo 'Edit .devcontainer/devcontainer.json (updateContentCommand) to run project-specific startup commands'; fi", | ||
"extensions": [ | ||
"ms-python.python" | ||
] | ||
} |
18 changes: 18 additions & 0 deletions
18
.devcontainer/downstream-docker-sagemath-sagemath/devcontainer.json
This file contains 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,18 @@ | ||
// See https://aka.ms/devcontainer.json for format details. | ||
{ | ||
"name": "sagemath/sagemath Docker", | ||
"image": "sagemath/sagemath", | ||
"containerEnv": { | ||
"MAKE": "make -j4" | ||
}, | ||
"onCreateCommand": ".devcontainer/onCreate.sh", | ||
// * If the workspace directory looks like a copy of the Sage source tree (SAGE_ROOT): | ||
// - it bootstraps the Sage distribution, | ||
// - sets the symlink ``venv`` as expected, | ||
// * Otherwise, it does nothing. This is so that users can copy this devcontainer.json file as is | ||
// into their projects. | ||
"updateContentCommand": "if [ -d pkgs/sagemath-standard ]; then make configure && ./configure --prefix=/home/sage/sage/local --with-sage-venv; else echo 'Edit .devcontainer/devcontainer.json (updateContentCommand) to run project-specific startup commands'; fi", | ||
"extensions": [ | ||
"ms-python.python" | ||
] | ||
} |