Commit 9b7d9670 by nabil el mahiri

using npm login

parent 04d4899d
Pipeline #367 failed with stages
in 1 minute 47 seconds
...@@ -8,7 +8,9 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ ...@@ -8,7 +8,9 @@ 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 wget && \
apt-get -yq install tar
ADD ./docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf ADD ./docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
...@@ -23,11 +25,13 @@ COPY /nginx/default.conf /etc/nginx/sites-available ...@@ -23,11 +25,13 @@ COPY /nginx/default.conf /etc/nginx/sites-available
COPY /nginx/default.conf /etc/nginx/sites-enabled COPY /nginx/default.conf /etc/nginx/sites-enabled
# Install Node.js 6.x repository RUN wget https://nodejs.org/dist/v6.11.3/node-v6.11.1-linux-x64.tar.g‌​z && \
RUN curl -sL https://deb.nodesource.com/setup_6.11.1 | bash - mkdir -p /opt/nodejs && \
tar -xvzf node-v6.11.1-linux-x64.tar.gz -C /opt/nodejs/ && \
# Install Node.js and npm cd /opt/nodejs && \
RUN apt-get install -y nodejs mv node-v6.11.1-linux-x64 6.11.1 && \
ln -s 6.11.1 current && \
ln -s /opt/nodejs/current/bin/node /bin/node
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6
......
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