Commit 8681467c by chahir

fiix probleme debian update

parent d384a277
Pipeline #530 failed with stages
in 1 minute 25 seconds
......@@ -6,6 +6,7 @@ ARG SSH_PRIVATE_KEY
ARG BUILD_TOKEN
ARG DEPLOY_TOKEN
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get -y dist-upgrade
......@@ -40,8 +41,10 @@ RUN npm install --global grunt-cli
# 2. install mongo
# 3. create db folder
# 4. run mongo in background
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 0C49F3730359A14518585931BC711F9BA15703C6 && \
echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.4 main" | tee /etc/apt/sources.list.d/mongodb-org-3.4.list
RUN printf "deb http://archive.debian.org/debian/ jessie main\ndeb-src http://archive.debian.org/debian/ jessie main\ndeb http://security.debian.org jessie/updates main\ndeb-src http://security.debian.org jessie/updates main" > /etc/apt/sources.list
RUN apt-get update && apt-get -yq install mongodb-org
RUN mkdir -p /data/db
RUN mongod --fork --syslog
......@@ -109,7 +112,7 @@ RUN find ./node_modules -maxdepth 1 -name "pine*" -type d \( ! -name . \) -exec
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 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