Loading docker/Dockerfile +3 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,8 @@ ENV TERM=linux \ COPY home /home/etsi RUN /etc/init.d/ssh start RUN cd /home/etsi \ && chown -R etsi:etsi . \ && ls ./etc/init.d/*.sh | while read S; do chmod 0750 "$S" || exit 1; done Loading @@ -17,6 +19,7 @@ RUN cd /home/etsi \ USER etsi RUN cd ${HOME} \ && ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519 \ && export PATH=$HOME/bin:$PATH \ && ls ${HOME}/etc/init.d/*.sh | while read S; do /bin/bash -c "$S" || exit 1; done \ && rm -fr ${HOME}/etc Loading docker/home/etc/init.d/40-etsi_Ng112.sh +3 −3 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ set -vx echo -e "*****************************\n* Checkout TTF T012 sources\n*****************************\n" mkdir -p ${HOME}/dev && cd ${HOME}/dev || exit 1 git clone --recurse-submodules --single-branch https://forge.etsi.org/gitlab/emergency-communications/NG112.git ETSI_Ng112 git clone --branch ttf_t009 --recurse-submodules --single-branch https://forge.etsi.org/gitlab/emergency-communications/NG112.git ETSI_Ng112 cd /home/etsi/dev/ETSI_Ng112/ttcn git clone https://forge.etsi.org/gitlab/LIBS/LibCommon.git ./LibCommon git clone https://forge.etsi.org/gitlab/LIBS/LibSip.git ./LibSip Loading Loading @@ -39,8 +39,8 @@ echo -e "*****************************\n* Init Eclipse Workspace\n************** echo -e "*****************************\n* Change sudo in command line\n*****************************\n" cd /home/etsi/dev/ETSI_Ng112/scripts sed --in-place 's/sudo/echo "etsi" \| sudo -S/' ./run_mtc.bash sed --in-place 's/sudo/echo "etsi" \| sudo -S/' ./run_ptcs.bash sed --in-place 's/sudo/sshpass -p etsi ssh yann@`hostname` echo etsi \| sudo -S/' ./run_mtc.bash sed --in-place 's/sudo/sshpass -p etsi ssh yann@`hostname` echo etsi \| sudo -S/' ./run_ptcs.bash cd /home/etsi/dev/ETSI_Ng112 Loading
docker/Dockerfile +3 −0 Original line number Diff line number Diff line Loading @@ -10,6 +10,8 @@ ENV TERM=linux \ COPY home /home/etsi RUN /etc/init.d/ssh start RUN cd /home/etsi \ && chown -R etsi:etsi . \ && ls ./etc/init.d/*.sh | while read S; do chmod 0750 "$S" || exit 1; done Loading @@ -17,6 +19,7 @@ RUN cd /home/etsi \ USER etsi RUN cd ${HOME} \ && ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519 \ && export PATH=$HOME/bin:$PATH \ && ls ${HOME}/etc/init.d/*.sh | while read S; do /bin/bash -c "$S" || exit 1; done \ && rm -fr ${HOME}/etc Loading
docker/home/etc/init.d/40-etsi_Ng112.sh +3 −3 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ set -vx echo -e "*****************************\n* Checkout TTF T012 sources\n*****************************\n" mkdir -p ${HOME}/dev && cd ${HOME}/dev || exit 1 git clone --recurse-submodules --single-branch https://forge.etsi.org/gitlab/emergency-communications/NG112.git ETSI_Ng112 git clone --branch ttf_t009 --recurse-submodules --single-branch https://forge.etsi.org/gitlab/emergency-communications/NG112.git ETSI_Ng112 cd /home/etsi/dev/ETSI_Ng112/ttcn git clone https://forge.etsi.org/gitlab/LIBS/LibCommon.git ./LibCommon git clone https://forge.etsi.org/gitlab/LIBS/LibSip.git ./LibSip Loading Loading @@ -39,8 +39,8 @@ echo -e "*****************************\n* Init Eclipse Workspace\n************** echo -e "*****************************\n* Change sudo in command line\n*****************************\n" cd /home/etsi/dev/ETSI_Ng112/scripts sed --in-place 's/sudo/echo "etsi" \| sudo -S/' ./run_mtc.bash sed --in-place 's/sudo/echo "etsi" \| sudo -S/' ./run_ptcs.bash sed --in-place 's/sudo/sshpass -p etsi ssh yann@`hostname` echo etsi \| sudo -S/' ./run_mtc.bash sed --in-place 's/sudo/sshpass -p etsi ssh yann@`hostname` echo etsi \| sudo -S/' ./run_ptcs.bash cd /home/etsi/dev/ETSI_Ng112