Commit f3041c7f by nabil el mahiri

using npm login

parent 515eb974
Pipeline #371 failed with stages
in 2 minutes 17 seconds
......@@ -62,15 +62,16 @@ COPY package*.json /atlasvoyages/
# 2. Populate the private key file.
# 3. Set the required permissions.
# 4. Add github to our list of known hosts for ssh.
# RUN mkdir -p /root/.ssh/ && \
# echo "$SSH_PRIVATE_KEY" > /root/.ssh/id_rsa && \
# chmod -R 600 /root/.ssh/ && \
# ssh-keyscan labs.atlasvoyages.com >> /root/.ssh/known_hosts && \
# cat /root/.ssh/id_rsa && \
# ssh -T git@labs.atlasvoyages.com
RUN mkdir -p /root/.ssh/ && \
echo "$SSH_PRIVATE_KEY" > /root/.ssh/id_rsa && \
chmod -R 600 /root/.ssh/ && \
ssh-keyscan labs.atlasvoyages.com >> /root/.ssh/known_hosts && \
cat /root/.ssh/id_rsa
# RUN git clone git@labs.atlasvoyages.com:pine/theme-atlasvoyages.git -b 0.3-beta-v1
RUN ssh -T git@labs.atlasvoyages.com
COPY ./ /atlasvoyages/
RUN expect -f ./sh/npm_login_expect nabilelmahiri arigatou@65 "nabil.elmahiri@fractalite.com" && npm i -S git+http://nabilelmahiri@labs.atlasvoyages.com/pine/pine-express.git#0.3-dev
......
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