File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
images/docker-stacks-foundation
tests/docker-stacks-foundation Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -136,8 +136,8 @@ if [ "$(id -u)" == 0 ] ; then
136
136
# NOTE: This hook is run as the root user!
137
137
# shellcheck disable=SC1091
138
138
source /usr/local/bin/run-hooks.sh /usr/local/bin/before-notebook.d
139
-
140
139
unset_explicit_env_vars
140
+
141
141
_log " Running as ${NB_USER} :" " ${cmd[@]} "
142
142
exec sudo --preserve-env --set-home --user " ${NB_USER} " \
143
143
LD_LIBRARY_PATH=" ${LD_LIBRARY_PATH} " \
234
234
# shellcheck disable=SC1091
235
235
source /usr/local/bin/run-hooks.sh /usr/local/bin/before-notebook.d
236
236
unset_explicit_env_vars
237
+
237
238
_log " Executing the command:" " ${cmd[@]} "
238
239
exec " ${cmd[@]} "
239
240
fi
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ def test_container_not_delete_bind_mount(
243
243
244
244
245
245
@pytest .mark .parametrize ("enable_root" , [False , True ])
246
- def test_jupyter_env_vars_to_unset_as_root (
246
+ def test_jupyter_env_vars_to_unset (
247
247
container : TrackedContainer , enable_root : bool
248
248
) -> None :
249
249
"""Environment variables names listed in JUPYTER_ENV_VARS_TO_UNSET
You can’t perform that action at this time.
0 commit comments