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
OpenEdx
configuration
Commits
7f5f4374
Commit
7f5f4374
authored
May 02, 2016
by
Brian Beggs
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3000 from edx/bbeggs/go-agent-git
Updating go-agent container to a modern git client
parents
571bbcf9
f1017993
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
+9
-1
docker/build/go-agent/Dockerfile
+9
-1
No files found.
docker/build/go-agent/Dockerfile
View file @
7f5f4374
...
@@ -4,14 +4,22 @@ FROM gocd/gocd-agent:16.2.1
...
@@ -4,14 +4,22 @@ FROM gocd/gocd-agent:16.2.1
LABEL
version="0.02" \
LABEL
version="0.02" \
description="This custom go-agent docker file installs additional requirements for the edx pipeline"
description="This custom go-agent docker file installs additional requirements for the edx pipeline"
# Add Custom apt repositories
RUN
\
RUN
\
echo
oracle-java7-installer shared/accepted-oracle-license-v1-1
select
true
| debconf-set-selections
&&
\
echo
oracle-java7-installer shared/accepted-oracle-license-v1-1
select
true
| debconf-set-selections
&&
\
add-apt-repository
-y
ppa:webupd8team/java
&&
\
add-apt-repository
-y
ppa:webupd8team/java
&&
\
apt-get update
&&
\
add-apt-repository
-y
ppa:git-core/ppa
&&
\
apt-get update
# Install Java 7
RUN
\
apt-get install
-y
oracle-java7-installer
&&
\
apt-get install
-y
oracle-java7-installer
&&
\
rm
-rf
/var/lib/apt/lists/
*
&&
\
rm
-rf
/var/lib/apt/lists/
*
&&
\
rm
-rf
/var/cache/oracle-jdk7-installer
rm
-rf
/var/cache/oracle-jdk7-installer
# Install a modern git client
RUN
sudo
apt-get
-y
install git
# Define working directory.
# Define working directory.
WORKDIR
/data
WORKDIR
/data
...
...
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