Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
atlasvoayages.com
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nabil el mahiri
atlasvoayages.com
Commits
3472e4ee
Commit
3472e4ee
authored
Apr 26, 2019
by
chahir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add public to docker file
parent
37808fb0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
9 deletions
+11
-9
docker/Dockerfile
+11
-9
No files found.
docker/Dockerfile
View file @
3472e4ee
...
@@ -11,15 +11,15 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
...
@@ -11,15 +11,15 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
# Installing supervisord
# Installing supervisord
RUN
DEBIAN_FRONTEND
=
noninteractive apt-get install
-y
supervisor
&&
\
RUN
DEBIAN_FRONTEND
=
noninteractive apt-get install
-y
supervisor
&&
\
apt-get install
-y
gnupg2
&&
\
apt-get install
-y
gnupg2
&&
\
apt-get install
-yq
ssh
&&
\
apt-get install
-yq
ssh
&&
\
apt-get install
-yq
tree
&&
\
apt-get install
-yq
tree
&&
\
apt-get install
-y
openssh-server
&&
\
apt-get install
-y
openssh-server
&&
\
apt-get install
-yq
redis-server
apt-get install
-yq
redis-server
# add supervisor conf
# add supervisor conf
ADD
./docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
ADD
./docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
# install nginx
# install nginx
RUN
DEBIAN_FRONTEND
=
noninteractive apt-get
-yq
install net-tools nginx lsb-release
RUN
DEBIAN_FRONTEND
=
noninteractive apt-get
-yq
install net-tools nginx lsb-release
...
@@ -61,7 +61,7 @@ RUN apt-get -yq install expect-dev
...
@@ -61,7 +61,7 @@ RUN apt-get -yq install expect-dev
# RUN echo exit 0 > /usr/sbin/policy-rc.d
# RUN echo exit 0 > /usr/sbin/policy-rc.d
# 1. Create the SSH directory.
# 1. Create the SSH directory.
# 2. Populate the private key file.
# 2. Populate the private key file.
# 3. Set the required permissions.
# 3. Set the required permissions.
...
@@ -72,8 +72,8 @@ RUN mkdir ~/.ssh && \
...
@@ -72,8 +72,8 @@ RUN mkdir ~/.ssh && \
echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config && \
echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config && \
touch ~/.ssh/known_hosts && ssh-keyscan -t rsa labs.atlasvoyages.com >> ~/.ssh/known_hosts && \
touch ~/.ssh/known_hosts && ssh-keyscan -t rsa labs.atlasvoyages.com >> ~/.ssh/known_hosts && \
ssh -T git@labs.atlasvoyages.com
ssh -T git@labs.atlasvoyages.com
# echo "Host labs.atlasvoyages.com"$'\n\t'"IdentityFile ~/.ssh/id_rsa" >> ~/.ssh/config
# echo "Host labs.atlasvoyages.com"$'\n\t'"IdentityFile ~/.ssh/id_rsa" >> ~/.ssh/config
RUN
cat
~/.ssh/known_hosts
RUN
cat
~/.ssh/known_hosts
RUN
cat
~/.ssh/id_rsa
RUN
cat
~/.ssh/id_rsa
...
@@ -108,6 +108,8 @@ RUN find ./node_modules -maxdepth 1 -name "pine*" -type d \( ! -name . \) -exec
...
@@ -108,6 +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
"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"
\;
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'
| grunt pine:setup
RUN
echo
'\n'
| grunt pine:setup
# RUN tree /atlasvoyages/apps/atlas-voyages/
# RUN tree /atlasvoyages/apps/atlas-voyages/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment