Skip to content

Commit

Permalink
fix: replace ~ with ${HOME} in PATH (#169)
Browse files Browse the repository at this point in the history
Co-authored-by: Rok Roškar <[email protected]>
  • Loading branch information
TaoSunVoyage and rokroskar authored Jun 21, 2021
1 parent 07a7e99 commit 23d30d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/r/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ENV SHELL bash
ENV CONDA_PATH /opt/conda

# prepend conda and local/bin to PATH
ENV PATH ~/.local/bin:${CONDA_PATH}/bin:$PATH
ENV PATH ${HOME}/.local/bin:${CONDA_PATH}/bin:$PATH

# And set PATH for R! It doesn't read from the environment...
RUN echo "PATH=${PATH}" >> /usr/local/lib/R/etc/Renviron && \
Expand Down

0 comments on commit 23d30d4

Please sign in to comment.