Commit 7ac5f17c by nabil el mahiri

npm login

parent 208cf1a4
Pipeline #466 failed with stages
in 3 minutes 20 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 install -y openssh-server apt-get install -y openssh-server && \
apt-get install -y curl
ADD ./docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf ADD ./docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
...@@ -55,10 +56,9 @@ ARG BUILD_TOKEN ...@@ -55,10 +56,9 @@ ARG BUILD_TOKEN
RUN mkdir ~/.ssh && \ 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 *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config && \ echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
ssh -T git@labs.atlasvoyages.com
# 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 curl -H "Host:labs.atlasvoyages.com" 127.0.0.1
# RUN touch ~/.ssh/known_hosts # 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
......
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