1
0
mirror of https://github.com/mveril/qp-demo synced 2024-11-03 20:54:01 +01:00

Put copy of examples after quantum package move

This commit is contained in:
Mickaël Véril 2019-11-06 15:15:39 +01:00
parent 7f3c4a0cdc
commit 888d329bc8

View File

@ -35,11 +35,12 @@ USER $user
ENV USER=$user ENV USER=$user
# Go to home # Go to home
WORKDIR /home/$user WORKDIR /home/$user
# untar directly static quantum package and examples # untar directly static quantum package
ADD quantum_package_static.tar.gz . ADD quantum_package_static.tar.gz .
COPY --chown=$user examples examples
# move quantum package # move quantum package
RUN mv quantum_package_static qp2 RUN mv quantum_package_static qp2
# add examples
COPY --chown=$user examples examples
RUN echo "set -g default-command /home/$user/qp2/bin/qpsh" >> .tmux.conf RUN echo "set -g default-command /home/$user/qp2/bin/qpsh" >> .tmux.conf
RUN echo "shell \"/home/$user/qp2/bin/qpsh\"" >> .screenrc RUN echo "shell \"/home/$user/qp2/bin/qpsh\"" >> .screenrc
# start a qp shell when run # start a qp shell when run