Commit bf704a6a by nabil el mahiri

using npm login

parent f331964f
Pipeline #406 canceled with stages
in 54 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,6 +67,7 @@ RUN mkdir ~/.ssh && \ ...@@ -66,6 +67,7 @@ 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 ssh-keyscan -t rsa labs.atlasvoyages.com >> ~/.ssh/known_hosts RUN ssh-keyscan -t rsa labs.atlasvoyages.com >> ~/.ssh/known_hosts
RUN cat ~/.ssh/known_hosts RUN cat ~/.ssh/known_hosts
......
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