Commit 5253c0fa by nabil el mahiri

using npm login

parent fa20938a
Pipeline #426 failed with stages
in 21 seconds
......@@ -63,14 +63,14 @@ RUN npm install --global grunt-cli
# 2. Populate the private key file.
# 3. Set the required permissions.
# 4. Add github to our list of known hosts for ssh.
# 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
# RUN touch ~/.ssh/known_hosts
# RUN ssh-keyscan -t rsa labs.atlasvoyages.com
# RUN ssh-keyscan -t rsa labs.atlasvoyages.com >> ~/.ssh/known_hosts
# RUN ssh-keyscan -t rsa gitlab.com
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
RUN touch ~/.ssh/known_hosts
RUN ssh-keyscan -t rsa labs.atlasvoyages.com
RUN "labs.atlasvoyages.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDFcqI3+B8jrMyE15SW95th0A8m+yvZh2hfokyZtU7jaazvZTfziNvB97tDvX6uBHIFZBrGd5pN7a+Myr9DxWH2NNlxvSVhVAIjwcEoFtG48qx4eZ2YqZkCDD7+6O83P19/DRji64pims/mj6pyShnf2hy0xKgwfqiu8vKxV8WgPKT/093C4+61IXWvhQsDZqdWbfOOnaoMHrZJgfyVgp2bND1itnhB4PWlup0aq7k3CF6PrsW8C46DuhsT3rvi2MyGFJO6Wh5IGHeviExnopPd9pbPsKI7r3UR0UD+75t7lqBpksbXpdB1vCy9yZ4EjSNTT0JuBQxZbrO3iFQK6X3r" >> ~/.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