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"
|
||||
# Return to the user directory
|
||||
WORKDIR /home/$user/
|
||||
# Add source to bashrc
|
||||
RUN echo "source /home/$user/quantum_package/quantum_package.rc" >> ~/.bashrc
|
||||
## start a login shell when run
|
||||
#CMD ["/bin/bash","--login"]
|
||||
# start a qpsh when run
|
||||
CMD ["/bin/bash","--login", "-c", "qpsh"]
|
||||
RUN echo "set -g default-command /home/$user/qp2/bin/qpsh" >> .tmux.conf
|
||||
RUN echo "shell \"/home/$user/qp2/bin/qpsh\"" >> .screenrc
|
||||
# start a qp shell when run
|
||||
CMD ["./qp2/bin/qpsh"]
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user