infra/codestorage/hg-repo-sync

Paddy 2015-10-11 Parent:cc08c8ed2128 Child:c8b4b952488a

2:9cc2f3a01ab5 Browse Files

Use pip to install Mercurial, pin to 3.5.2 We want to use a relatively recent (but consistent) version of Mercurial, so I had to switch to using pip to install Mercurial, so I could pin it to version 3.5.2. apt-get didn't have version 3 available.

Dockerfile

     1.1 --- a/Dockerfile	Sun Oct 11 03:48:40 2015 -0700
     1.2 +++ b/Dockerfile	Sun Oct 11 16:52:32 2015 -0700
     1.3 @@ -1,7 +1,8 @@
     1.4  FROM ubuntu:14.04
     1.5  MAINTAINER Paddy <paddy@secondbit.org>
     1.6  
     1.7 -RUN apt-get update && apt-get install -y Mercurial wget unzip
     1.8 +RUN apt-get update && apt-get install -y python-pip python-dev wget unzip
     1.9 +RUN pip install Mercurial==3.5.2
    1.10  RUN groupadd -g 2000 committers
    1.11  
    1.12  RUN mkdir -p /mounted/repos