Skip to content

Commit 05c3806

Browse files
authored
Make sure /root/.local/state/._bash_history exists in the container.
1 parent 9af5c61 commit 05c3806

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build/dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ WORKDIR /pyhpc-tutorial/notebooks
77
RUN pip install --root-user-action ignore -r /pyhpc-tutorial/build/requirements.txt \
88
&& git config --unset-all "http.https://github.com/.extraheader" || { code=$?; [ "$code" = 5 ] || exit "$code"; } \
99
&& git config --global --add safe.directory "/pyhpc-tutorial" \
10-
&& mkdir ~/.jupyter \
10+
&& mkdir -p ~/.jupyter \
11+
&& mkdir -p ~/.local/state/._bash_history \
1112
&& ln -fs /pyhpc-tutorial/build/jupyter_server_config.py ~/.jupyter/jupyter_server_config.py

0 commit comments

Comments
 (0)