mirror of
https://github.com/corda/corda.git
synced 2025-01-14 16:59:52 +00:00
ENT-1012 - Make sure bashrc is properly set for container (#218)
This commit is contained in:
parent
dd59b06c62
commit
0e8c7b0b87
@ -86,7 +86,6 @@ VOLUME ${SGX_SDK}
|
||||
RUN mkdir -p ${CODE}
|
||||
RUN mkdir -p ${HOME}
|
||||
RUN mkdir -p ${SGX_SDK}
|
||||
RUN echo "PS1='container> '" > ${HOME}/.bashrc
|
||||
WORKDIR ${CODE}
|
||||
|
||||
# Set up Java and SGX environment
|
||||
|
@ -285,6 +285,7 @@ in_container() {
|
||||
local tty=""
|
||||
shift 1
|
||||
mkdir -p ${HOME}/.container
|
||||
echo 'export PS1="$ "' > ${HOME}/.container/.bashrc
|
||||
|
||||
if [ "${TTY_MODE}" == "on" ]; then
|
||||
tty="-t"
|
||||
|
Loading…
Reference in New Issue
Block a user