Skip to content

Commit

Permalink
Replaced sudo by su
Browse files Browse the repository at this point in the history
[run-notebook-tests]
  • Loading branch information
ckunki committed Mar 7, 2024
1 parent 6ff5319 commit 3b67430
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def notebook_test_dockerfile_content(dss_docker_image) -> str:
USER ubuntu
RUN sudo mv /tmp/notebooks/* "$NOTEBOOK_FOLDER_INITIAL" && sudo rmdir /tmp/notebooks/
RUN sudo chown -R jupyter "$NOTEBOOK_FOLDER_INITIAL"
RUN sudo --login --user jupyter
RUN su jupyter
WORKDIR $NOTEBOOK_FOLDER_INITIAL
RUN "$VIRTUAL_ENV/bin/python3" -m pip install -r test_dependencies.txt
"""
Expand Down

0 comments on commit 3b67430

Please sign in to comment.