diff --git a/sgx-jvm/containers/core/Dockerfile b/sgx-jvm/containers/core/Dockerfile index e5969391ce..6a09dc5a1a 100644 --- a/sgx-jvm/containers/core/Dockerfile +++ b/sgx-jvm/containers/core/Dockerfile @@ -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 diff --git a/sgx-jvm/tools/sx/sx b/sgx-jvm/tools/sx/sx index bd24de30c9..298fbd0e97 100755 --- a/sgx-jvm/tools/sx/sx +++ b/sgx-jvm/tools/sx/sx @@ -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"