1
0
mirror of https://github.com/mveril/qp-demo synced 2024-10-02 06:21:02 +02:00

Add examples to Dockerfile.compile

This commit is contained in:
Mickaël Véril 2019-11-06 15:20:23 +01:00
parent 01bd044f59
commit df267abc14

View File

@ -50,6 +50,8 @@ 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 examples
COPY --chown=$user examples examples
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