Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
7a279e59
Commit
7a279e59
authored
Jun 27, 2017
by
shikhi7
Committed by
GitHub
Jun 27, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Formatted Dockerfile to be cleaner and precise
parent
eadd20ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
11 deletions
+15
-11
Dockerfile
examples/phabricator/php-phabricator/Dockerfile
+15
-11
No files found.
examples/phabricator/php-phabricator/Dockerfile
View file @
7a279e59
...
...
@@ -15,21 +15,25 @@
FROM
ubuntu:14.04
# Install all the required packages.
RUN
apt-get update
RUN
apt-get
-y
install
\
RUN
apt-get update
&&
\
apt-get
-y
install
\
git apache2 dpkg-dev python-pygments
\
php5 php5-mysql php5-gd php5-dev php5-curl php-apc php5-cli php5-json php5-xhprof
RUN
a2enmod rewrite
RUN
apt-get
source
php5
RUN
(
cd
`
ls
-1F
|
grep
'^php5-.*/$'
`
/ext/pcntl
&&
phpize
&&
./configure
&&
make
&&
sudo
make
install
)
php5 php5-mysql php5-gd php5-dev php5-curl php-apc php5-cli php5-json php5-xhprof
&&
\
apt-get
-y
clean autoclean
&&
\
rm
-rf
/var/lib/apt/lists/
*
/tmp/
*
/var/tmp/
*
#Configure php
RUN
a2enmod rewrite
&&
\
apt-get
source
php5
&&
\
(
cd
`
ls
-1F
|
grep
'^php5-.*/$'
`
/ext/pcntl
&&
phpize
&&
./configure
&&
make
&&
sudo
make
install
)
# Load code source.
RUN
mkdir
/home/www-data
RUN
cd
/home/www-data
&&
git clone https://github.com/phacility/libphutil.git
RUN
cd
/home/www-data
&&
git clone https://github.com/phacility/arcanist.git
RUN
cd
/home/www-data
&&
git clone https://github.com/phacility/phabricator.git
RUN
chown
-R
www-data /home/www-data
RUN
chgrp
-R
www-data /home/www-data
RUN
cd
/home/www-data
&&
git clone https://github.com/phacility/libphutil.git
&&
\
cd
/home/www-data
&&
git clone https://github.com/phacility/arcanist.git
&&
\
cd
/home/www-data
&&
git clone https://github.com/phacility/phabricator.git
&&
\
chown
-R
www-data /home/www-data
&&
\
chgrp
-R
www-data /home/www-data
ADD
000-default.conf /etc/apache2/sites-available/000-default.conf
ADD
run.sh /run.sh
...
...
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