-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from tlvu/master
Update to latest ubuntu LTS base image with gives newer version of mercurial
- Loading branch information
Showing
1 changed file
with
3 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,10 @@ | ||
# http://mercurial.selenic.com/wiki/HgWebDirStepByStep#Directory_Structure | ||
|
||
FROM ubuntu:14.04 | ||
FROM ubuntu:16.04 | ||
MAINTAINER Alex McLain <[email protected]> | ||
|
||
RUN apt-get -qq update | ||
RUN apt-get -y install apache2 apache2-utils curl mercurial php5 php5-cli php5-mcrypt | ||
|
||
# TODO: Remove | ||
RUN apt-get -y install vim | ||
RUN echo "colorscheme delek" > ~/.vimrc | ||
RUN apt-get -y install apache2 apache2-utils curl mercurial php php-cli php-mcrypt | ||
|
||
# Configure hgweb | ||
ADD hg/add.php /etc/default/hgweb/hg/ | ||
|
@@ -28,4 +24,4 @@ VOLUME /var/hg | |
VOLUME /etc/apache2/sites-available | ||
EXPOSE 80 | ||
|
||
CMD load-default-scripts && service apache2 start && /bin/bash | ||
CMD load-default-scripts && service apache2 reload; apache2ctl -DFOREGROUND |