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
f1017993
Commit
f1017993
authored
May 02, 2016
by
Brian Beggs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updating go-agent container to a modern git client
parent
571bbcf9
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 @
f1017993
...
...
@@ -4,14 +4,22 @@ FROM gocd/gocd-agent:16.2.1
LABEL
version="0.02" \
description="This custom go-agent docker file installs additional requirements for the edx pipeline"
# Add Custom apt repositories
RUN
\
echo
oracle-java7-installer shared/accepted-oracle-license-v1-1
select
true
| debconf-set-selections
&&
\
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
&&
\
rm
-rf
/var/lib/apt/lists/
*
&&
\
rm
-rf
/var/cache/oracle-jdk7-installer
# Install a modern git client
RUN
sudo
apt-get
-y
install git
# Define working directory.
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