Skip to content

Commit

Permalink
Merge pull request #1 from tlvu/master
Browse files Browse the repository at this point in the history
Update to latest ubuntu LTS base image with gives newer version of mercurial
  • Loading branch information
amclain authored Apr 10, 2018
2 parents 5926fbb + 81c0749 commit 67238a5
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions Dockerfile
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/
Expand All @@ -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

0 comments on commit 67238a5

Please sign in to comment.