Skip to content

Commit 3e4b0f0

Browse files
pzhlkj6612ljharb
authored andcommitted
[readme] do not use tilde expansion in ENV of Dockerfile
It won't expand. my bad.
1 parent 20d52b6 commit 3e4b0f0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ When invoking bash as a non-interactive shell, like in a Docker container, none
146146
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
147147

148148
# Create a script file sourced by both interactive and non-interactive bash shells
149-
ENV BASH_ENV ~/.bash_env
149+
ENV BASH_ENV "${HOME}/.bash_env"
150150
RUN touch "${BASH_ENV}"
151151
RUN echo '. "${BASH_ENV}"' >> ~/.bashrc
152152

0 commit comments

Comments
 (0)