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
7ac5f17c
Commit
7ac5f17c
authored
6 years ago
by
nabil el mahiri
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
npm login
parent
208cf1a4
Pipeline
#466
failed with stages
in 3 minutes 20 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
docker/Dockerfile
+4
-4
No files found.
docker/Dockerfile
View file @
7ac5f17c
...
@@ -8,7 +8,8 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
...
@@ -8,7 +8,8 @@ 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 install
-y
openssh-server
apt-get install
-y
openssh-server
&&
\
apt-get install
-y
curl
ADD
./docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
ADD
./docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
...
@@ -55,10 +56,9 @@ ARG BUILD_TOKEN
...
@@ -55,10 +56,9 @@ ARG BUILD_TOKEN
RUN
mkdir ~/.ssh
&&
\
RUN
mkdir ~/.ssh
&&
\
echo
"
$SSH_PRIVATE_KEY
"
>>
~/.ssh/id_rsa
&&
\
echo
"
$SSH_PRIVATE_KEY
"
>>
~/.ssh/id_rsa
&&
\
chmod 0600 ~/.ssh/id_rsa && \
chmod 0600 ~/.ssh/id_rsa && \
echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config && \
echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config
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
curl
-H
"Host:labs.atlasvoyages.com"
127.0.0.1
# RUN touch ~/.ssh/known_hosts
# RUN touch ~/.ssh/known_hosts
# RUN ssh-keyscan -t rsa labs.atlasvoyages.com >> ~/.ssh/known_hosts
# RUN ssh-keyscan -t rsa labs.atlasvoyages.com >> ~/.ssh/known_hosts
...
...
This diff is collapsed.
Click to expand it.
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