UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Containers
A
aiml
jupyter
jlab-eda
Commits
24488c75
Commit
24488c75
authored
Mar 29, 2021
by
Daniel Komnick
Browse files
edited start-notebook.sh, removed --NotebookApp.token='' --NotebookApp.password=''
parent
c8378aea
Pipeline
#204067
failed with stages
in 47 minutes and 8 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
6 deletions
+7
-6
.gitignore
.gitignore
+1
-0
Dockerfile
Dockerfile
+5
-5
scripts/start-notebook.sh
scripts/start-notebook.sh
+1
-1
tini
tini
+0
-0
No files found.
.gitignore
View file @
24488c75
...
@@ -4,5 +4,6 @@
...
@@ -4,5 +4,6 @@
*.ps1
*.ps1
packages.txt
packages.txt
repo/**
repo/**
test_commands.txt
anchore-reports/**
anchore-reports/**
report.txt
report.txt
Dockerfile
View file @
24488c75
ARG
BASE_REGISTRY=registry1.dso.mil
#
ARG BASE_REGISTRY=registry1.dso.mil
ARG
BASE_IMAGE=ironbank/redhat/python/python36
#
ARG BASE_IMAGE=ironbank/redhat/python/python36
ARG
BASE_TAG=3.6
#
ARG BASE_TAG=3.6
FROM
${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
#
FROM ${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
#
FROM python36-ai:latest
FROM
python36-ai:latest
ARG
NB_USER="jovyan"
ARG
NB_USER="jovyan"
# NB_UID == 1001 b/c the default user in the ironbank python36 image is uid 1001
# NB_UID == 1001 b/c the default user in the ironbank python36 image is uid 1001
...
...
scripts/start-notebook.sh
View file @
24488c75
...
@@ -11,7 +11,7 @@ fi
...
@@ -11,7 +11,7 @@ fi
if
[[
!
-z
"
${
JUPYTERHUB_API_TOKEN
}
"
]]
;
then
if
[[
!
-z
"
${
JUPYTERHUB_API_TOKEN
}
"
]]
;
then
# launched by JupyterHub, use single-user entrypoint
# launched by JupyterHub, use single-user entrypoint
exec
/usr/local/bin/start-singleuser.sh
--NotebookApp
.token
=
''
--NotebookApp
.password
=
''
"
$@
"
exec
/usr/local/bin/start-singleuser.sh
"
$@
"
elif
[[
!
-z
"
${
JUPYTER_ENABLE_LAB
}
"
]]
;
then
elif
[[
!
-z
"
${
JUPYTER_ENABLE_LAB
}
"
]]
;
then
.
/usr/local/bin/start.sh
$wrapper
jupyter lab
--NotebookApp
.token
=
''
--NotebookApp
.password
=
''
"
$@
"
.
/usr/local/bin/start.sh
$wrapper
jupyter lab
--NotebookApp
.token
=
''
--NotebookApp
.password
=
''
"
$@
"
else
else
...
...
tini
0 → 100644
View file @
24488c75
File added
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