mirror of
https://github.com/nvm-sh/nvm.git
synced 2026-05-18 13:21:30 +08:00
[readme] do not use tilde expansion in ENV of Dockerfile
It won't expand. my bad.
This commit is contained in:
@@ -146,7 +146,7 @@ When invoking bash as a non-interactive shell, like in a Docker container, none
|
||||
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
|
||||
# Create a script file sourced by both interactive and non-interactive bash shells
|
||||
ENV BASH_ENV ~/.bash_env
|
||||
ENV BASH_ENV "${HOME}/.bash_env"
|
||||
RUN touch "${BASH_ENV}"
|
||||
RUN echo '. "${BASH_ENV}"' >> ~/.bashrc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user