Skip to content

Commit

Permalink
Better setting of PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
andreas-zeller committed Jun 29, 2024
1 parent 20b7413 commit 43641b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions binder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ RUN pip install --no-cache --upgrade pip && \
# Add the default user
ARG NB_USER=jovyan
ARG NB_UID=1000
ENV USER ${NB_USER}
ENV HOME /home/${NB_USER}
ENV USER=${NB_USER}
ENV HOME=/home/${NB_USER}

RUN adduser --disabled-password \
--gecos "Default user" \
Expand All @@ -58,7 +58,7 @@ RUN apt-get install -y $(grep -v '^#' binder/apt.txt); exit 0
USER ${NB_USER}

# Add local bin path
RUN PATH="/home/${NB_USER}/.local/bin:$PATH"; export PATH
ENV PATH="/home/${NB_USER}/.local/bin:$PATH"

# Set up the conda environment
# (Skipping for now, as installing conda is hard)
Expand Down

0 comments on commit 43641b3

Please sign in to comment.