Commit d384a277 by chahir

show location

parent 2df7b632
Pipeline #529 failed with stages
in 13 seconds
......@@ -2,7 +2,6 @@
FROM node:6.11.1 as build-stage
# Take an SSH key build token and deploy token as a build argument.
# Defien the build-time variables.
ARG SSH_PRIVATE_KEY
ARG BUILD_TOKEN
ARG DEPLOY_TOKEN
......@@ -11,10 +10,6 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade
# Installing supervisord
# Supervisor is a client/server system that allows its users to monitor and control a number of processes on UNIX-like operating systems.
# gnupg2 GNU privacy guard - a free PGP replacement
# Tree is a recursive directory listing program that produces a depth indented listing of files
# sshd (OpenSSH Daemon or server) is the daemon program for ssh client. It is a free and open source ssh server.
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y supervisor && \
apt-get install -y gnupg2 && \
apt-get install -yq ssh && \
......@@ -53,7 +48,6 @@ RUN mongod --fork --syslog
# install expect form automatic npm login
# Expect is a tool for automating interactive applications according to a script.
RUN apt-get -yq install expect-dev
# dump mongo db
......@@ -84,8 +78,6 @@ RUN mkdir ~/.ssh && \
RUN cat ~/.ssh/known_hosts
RUN cat ~/.ssh/id_rsa
# If the WORKDIR doesn’t exist, it will be created even if it’s not used in any subsequent Dockerfile instruction.
WORKDIR /atlasvoyages
# COPY ./sh /atlasvoyages/sh
......@@ -103,11 +95,6 @@ RUN npm install --unsafe-perm=true
# hide deploy token
RUN sed -i 's/git+ssh:\/\/git@labs.atlasvoyages.com:/git+http:\/\/gitlab-ci-token:xxxxxxxxx@labs.atlasvoyages.com\//' ./package.json
# TEST to see the package .json
RUN cat ./package.json
RUN pwd
COPY ./ /atlasvoyages/
......@@ -121,8 +108,8 @@ RUN find ./node_modules -maxdepth 1 -name "pine*" -type d \( ! -name . \) -exec
find ./node_modules -maxdepth 1 -name "hermes*" -type d \( ! -name . \) -exec bash -c "cd '{}' && npm i --unsafe-perm=true && grunt build:dist --force" \; && \
find ./node_modules -maxdepth 1 -name "theme-atlasvoyages*" -type d \( ! -name . \) -exec bash -c "cd '{}' && npm i --unsafe-perm=true && grunt build:dist --force" \;
#RUN find ./apps/atlasvoyages -maxdepth 1 -exec bash -c "git clone http://labs.atlasvoyages.com/webapps/atlas-voyages.git && rm -rf ./public && cp " \;
RUN echo '\n location ------' | pwd
RUN echo '\n----------------location -------' | pwd
RUN echo '\n' | grunt pine:setup
# RUN tree /atlasvoyages/apps/atlas-voyages/
......
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