mirror of
https://github.com/mveril/qp-demo
synced 2025-01-03 10:05:57 +01:00
Add same entry point between docker and docker coompile
This commit is contained in:
parent
888d329bc8
commit
01bd044f59
@ -50,11 +50,9 @@ RUN /bin/bash -c "source quantum_package.rc ; ninja"
|
|||||||
RUN /bin/bash -c "source quantum_package.rc ; qp_test -a"
|
RUN /bin/bash -c "source quantum_package.rc ; qp_test -a"
|
||||||
# Return to the user directory
|
# Return to the user directory
|
||||||
WORKDIR /home/$user/
|
WORKDIR /home/$user/
|
||||||
# Add source to bashrc
|
RUN echo "set -g default-command /home/$user/qp2/bin/qpsh" >> .tmux.conf
|
||||||
RUN echo "source /home/$user/quantum_package/quantum_package.rc" >> ~/.bashrc
|
RUN echo "shell \"/home/$user/qp2/bin/qpsh\"" >> .screenrc
|
||||||
## start a login shell when run
|
# start a qp shell when run
|
||||||
#CMD ["/bin/bash","--login"]
|
CMD ["./qp2/bin/qpsh"]
|
||||||
# start a qpsh when run
|
|
||||||
CMD ["/bin/bash","--login", "-c", "qpsh"]
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user