Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
devcontainer-features
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eazydevelop-devcontainer-temp
devcontainer-features
Commits
ceb4544c
Unverified
Commit
ceb4544c
authored
Sep 20, 2022
by
JP Ungaretti
Committed by
GitHub
Sep 20, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename JupyterLab config file (#174)
* Rename JupyterLab config file * Bump version
parent
bae78122
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
devcontainer-feature.json
src/python/devcontainer-feature.json
+1
-1
install.sh
src/python/install.sh
+1
-1
install_jupyterlab.sh
test/python/install_jupyterlab.sh
+1
-1
No files found.
src/python/devcontainer-feature.json
View file @
ceb4544c
{
"id"
:
"python"
,
"version"
:
"1.0.
6
"
,
"version"
:
"1.0.
7
"
,
"name"
:
"Python"
,
"documentationURL"
:
"https://github.com/devcontainers/features/tree/main/src/python"
,
"description"
:
"Installs the provided version of Python, as well as PIPX, and other common Python utilities. JupyterLab is conditionally installed with the python feature. Note: May require source code compilation."
,
...
...
src/python/install.sh
View file @
ceb4544c
...
...
@@ -320,7 +320,7 @@ install_user_package() {
add_user_jupyter_config
()
{
CONFIG_DIR
=
"/home/
$USERNAME
/.jupyter"
CONFIG_FILE
=
"
$CONFIG_DIR
/jupyter_
notebook
_config.py"
CONFIG_FILE
=
"
$CONFIG_DIR
/jupyter_
server
_config.py"
# Make sure the config file exists or create it with proper permissions
test
-d
"
$CONFIG_DIR
"
||
sudo_if
mkdir
"
$CONFIG_DIR
"
...
...
test/python/install_jupyterlab.sh
View file @
ceb4544c
...
...
@@ -6,7 +6,7 @@ set -e
source
dev-container-features-test-lib
check
"version"
jupyter lab
--version
check
"config"
grep
".*.allow_origin = '*'"
/home/vscode/.jupyter/jupyter_
notebook
_config.py
check
"config"
grep
".*.allow_origin = '*'"
/home/vscode/.jupyter/jupyter_
server
_config.py
check
"user"
whoami
|
grep
vscode
check
"zsh"
zsh
--version
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment