Commit 212b04d6 by nabil el mahiri

using npm login

parent bf704a6a
Pipeline #407 failed with stages
in 2 minutes 19 seconds
......@@ -8,8 +8,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
RUN apt-get install -y supervisor && \
apt-get install -y gnupg2 && apt-get install -y gnupg2 && \
apt-get -yq install ssh && \
apt-get -yq install curl && \
apt-get -yq install ssh
apt-get -yq install curl
ADD ./docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
......@@ -66,7 +65,7 @@ ARG SSH_PRIVATE_KEY
RUN mkdir ~/.ssh && \
echo "$SSH_PRIVATE_KEY" >> ~/.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 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