Skip to content

Commit

Permalink
Attempt 2 with sudoers
Browse files Browse the repository at this point in the history
  • Loading branch information
enolfc committed Jan 28, 2025
1 parent 59bc868 commit 6451394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion single-user/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ USER root

RUN apt-get update \
&& apt-get install --no-install-recommends -y sudo \
&& echo "jovyan ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/jovyan.conf \
&& echo 'jovyan ALL=(ALL) NOPASSWD:ALL' >>/etc/sudoers \
&& su jovyan /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" \
&& rm /etc/sudoers.d/jovyan.conf \
&& apt-get remove sudo \
Expand Down

0 comments on commit 6451394

Please sign in to comment.