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
84aca616
Commit
84aca616
authored
Nov 21, 2015
by
Edward Zarecor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
initial trust common build artifacts
parent
d20b52b2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
0 deletions
+32
-0
docker/build/trusty-common/Dockerfile
+30
-0
docker/build/trusty-common/inventory
+2
-0
No files found.
docker/build/trusty-common/Dockerfile
0 → 100644
View file @
84aca616
FROM
ubuntu:trusty
MAINTAINER
edxops
RUN
apt-get update
RUN
apt-get
-y
install
sudo
RUN
useradd docker
&&
echo
"docker:docker"
| chpasswd
RUN
echo
"docker ALL=(ALL) NOPASSWD:ALL"
>>
/etc/sudoers
RUN
mkdir
-p
/home/docker
&&
chown
-R
docker:docker /home/docker
RUN
apt-get install
-y
python2.7 python2.7-dev python-pip python-apt python-yaml python-jinja2 git
USER
docker
# bootstrap
RUN
sudo
git clone
--recursive
https://github.com/edx/ansible /tmp/ansible
WORKDIR
/tmp/ansible
ENV
PATH /tmp/ansible/bin:/bin:/sbin:/usr/sbin:/usr/bin
# Install the configuration repository to install
# edx-ansible role
RUN
sudo
git clone http://github.com/edx/configuration.git /tmp/configuration
ADD
inventory /etc/ansible/hosts
WORKDIR
/tmp/configuration
RUN
sudo
git checkout hack2015/docker
RUN
sudo
pip install
-r
pre-requirements.txt
RUN
sudo
pip install
-r
requirements.txt
WORKDIR
/tmp/configuration/playbooks/edx-east
RUN
sudo
/tmp/ansible/bin/ansible-playbook edx_ansible.yml
-c
local
-e
"configuration_version=hack2015/docker"
# cleanup
RUN
sudo
rm
-rf
/tmp/ansible
RUN
sudo
rm
-rf
/tmp/configuration
docker/build/trusty-common/inventory
0 → 100644
View file @
84aca616
[local]
localhost
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