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
4d5dfd88
Commit
4d5dfd88
authored
Nov 23, 2015
by
Edward Zarecor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding SELinux work-around for precise.
parent
9be3e114
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
docker/build/precise-common/Dockerfile
+10
-0
No files found.
docker/build/precise-common/Dockerfile
View file @
4d5dfd88
...
...
@@ -11,6 +11,16 @@ 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
# Temporary hacking related to an SELinux bug. This issue causes, at least,
# useradd to fail silently when the -m flag is passed in. The bug affects
# Ubuntu precise and is tracked here:
#
# https://bugs.launchpad.net/ubuntu/+source/libselinux/+bug/1424795
RUN
apt-get install wget
RUN
wget http://mirrors.kernel.org/ubuntu/pool/main/libs/libselinux/libselinux1_2.2.2-1_amd64.deb
&&
dpkg
-i
libselinux1_2.2.2-1_amd64.deb
&&
rm
-f
libselinux1_2.2.2-1_amd64.deb
# end hack
USER
docker
# ansible bootstrap
...
...
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