Commit 78de66e9 by nabil el mahiri

using npm login

parent 82fae88b
Pipeline #369 failed with stages
in 1 minute 39 seconds
...@@ -8,9 +8,7 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ ...@@ -8,9 +8,7 @@ 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 wget && \ apt-get -yq install curl
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
...@@ -25,13 +23,11 @@ COPY /nginx/default.conf /etc/nginx/sites-available ...@@ -25,13 +23,11 @@ COPY /nginx/default.conf /etc/nginx/sites-available
COPY /nginx/default.conf /etc/nginx/sites-enabled COPY /nginx/default.conf /etc/nginx/sites-enabled
RUN wget https://nodejs.org/dist/v6.11.1/node-v6.11.1-linux-x64.tar.g‌​z && \ # Install Node.js 6.x repository
mkdir -p /opt/nodejs && \ RUN curl -sL https://deb.nodesource.com/setup_6.x | bash -
tar -xvzf node-v6.11.1-linux-x64.tar.gz -C /opt/nodejs/ && \
cd /opt/nodejs && \ # Install Node.js and npm
mv node-v6.11.1-linux-x64 6.11.1 && \ RUN apt-get install -y nodejs
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