Commit 05bcda55 by nabil el mahiri

using npm login

parent 212b04d6
Pipeline #408 failed with stages
in 6 minutes 39 seconds
...@@ -8,7 +8,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ ...@@ -8,7 +8,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
RUN apt-get install -y supervisor && \ RUN apt-get install -y supervisor && \
apt-get install -y gnupg2 && apt-get install -y gnupg2 && \ apt-get install -y gnupg2 && apt-get install -y gnupg2 && \
apt-get -yq install ssh && \ apt-get -yq install ssh && \
apt-get -yq install curl apt-get -yq install curl && \
apt-get -yq install ssh
ADD ./docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf ADD ./docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
...@@ -66,8 +67,10 @@ RUN mkdir ~/.ssh && \ ...@@ -66,8 +67,10 @@ RUN mkdir ~/.ssh && \
echo "$SSH_PRIVATE_KEY" >> ~/.ssh/id_rsa && \ echo "$SSH_PRIVATE_KEY" >> ~/.ssh/id_rsa && \
chmod 0600 ~/.ssh/id_rsa && \ chmod 0600 ~/.ssh/id_rsa && \
echo "Host labs.atlasvoyages.com"$'\n\t'"IdentityFile ~/.ssh/id_rsa" >> ~/.ssh/config echo "Host labs.atlasvoyages.com"$'\n\t'"IdentityFile ~/.ssh/id_rsa" >> ~/.ssh/config
RUN touch ~/.ssh/known_hosts
RUN ssh-keyscan -t rsa labs.atlasvoyages.com >> ~/.ssh/known_hosts RUN ssh-keyscan -t rsa labs.atlasvoyages.com >> ~/.ssh/known_hosts
RUN ssh-keyscan -t rsa labs.atlasvoyages.com
RUN cat ~/.ssh/known_hosts RUN cat ~/.ssh/known_hosts
RUN ssh -T git@labs.atlasvoyages.com RUN ssh -T git@labs.atlasvoyages.com
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment