Skip to content

Commit

Permalink
No installation of packages
Browse files Browse the repository at this point in the history
  • Loading branch information
enolfc committed Jan 28, 2025
1 parent f67baf6 commit 361a7d3
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions single-user/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,8 @@ RUN jupyter lab build
# homebrew
USER root

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

USER $NB_UID

Expand Down

0 comments on commit 361a7d3

Please sign in to comment.