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