Skip to content

Commit ec9dccf

Browse files
committed
Ignore warnings about running pip as root in the Docker image.
1 parent 7e18b95 commit ec9dccf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build/dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ COPY . /pyhpc-tutorial
44

55
WORKDIR /pyhpc-tutorial/notebooks
66

7+
ENV PIP_ROOT_USER_ACTION=ignore
8+
79
RUN pip install --root-user-action ignore -r /pyhpc-tutorial/build/requirements.txt \
810
&& git config --unset-all "http.https://github.com/.extraheader" || { code=$?; [ "$code" = 5 ] || exit "$code"; } \
911
&& git config --global --add safe.directory "/pyhpc-tutorial" \

0 commit comments

Comments
 (0)