Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
db5cca47
Commit
db5cca47
authored
Aug 16, 2016
by
Brian Beggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
go-agent Dockerfile now installs the RSA key used to clone private repositories
parent
af01848b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
docker/build/go-agent/Dockerfile
+14
-0
docker/build/go-agent/files/go_github_key.pem
+4
-0
No files found.
docker/build/go-agent/Dockerfile
View file @
db5cca47
...
...
@@ -64,3 +64,17 @@ RUN pip install awscli
ADD
docker/build/go-agent/files/go-agent-start.sh /etc/service/go-agent/run
ADD
docker/build/go-agent/files/go-agent-env-vars /etc/default/go-agent
RUN
update-java-alternatives
-s
java-7-oracle
# !!!!NOTICE!!!! ---- Runner of this pipeline take heed!! You must replace go_github_key.pem with the REAL key material
# that can checkout private github repositories used as pipeline materials. The key material here is faked and is only
# used to pass CI!
# setup the github identity
ADD
docker/build/go-agent/files/go_github_key.pem /var/go/.ssh/id_rsa
RUN
chmod 600 /var/go/.ssh/id_rsa
&&
\
chown go:go /var/go/.ssh/id_rsa
# setup the known_hosts
RUN
touch /var/go/.ssh/known_hosts
&&
\
chmod 600 /var/go/.ssh/known_hosts
&&
\
chown go:go /var/go/.ssh/known_hosts
&&
\
ssh-keyscan
-t
rsa,dsa github.com
>
/var/go/.ssh/known_hosts
docker/build/go-agent/files/go_github_key.pem
0 → 100644
View file @
db5cca47
-----BEGIN RSA PRIVATE KEY-----
This file is junk, replace with the real key when
building the container.
-----END RSA PRIVATE KEY-----
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