comparison docker/base/Dockerfile @ 106:8b228fd053bc

docker (base, libervia): use new getRepositoryData ability to save data in a .hg_data file
author Goffi <goffi@goffi.org>
date Sun, 28 Feb 2016 15:04:12 +0100
parents b69056368901
children 834bedf42332
comparison
equal deleted inserted replaced
105:b69056368901 106:8b228fd053bc
62 62
63 RUN cd /tmp && \ 63 RUN cd /tmp && \
64 64
65 hg clone https://repos.goffi.org/urwid-satext && cd urwid-satext && \ 65 hg clone https://repos.goffi.org/urwid-satext && cd urwid-satext && \
66 python setup.py install --prefix /usr --install-lib /usr/lib/python2.7/dist-packages && \ 66 python setup.py install --prefix /usr --install-lib /usr/lib/python2.7/dist-packages && \
67 rm -rf urwid-satext && \ 67 cd /tmp && rm -rf urwid-satext && \
68 68
69 ##################### 69 #####################
70 # CORE INSTALLATION # 70 # CORE INSTALLATION #
71 ##################### 71 #####################
72 72
73 hg clone https://repos.goffi.org/sat && cd sat && \ 73 hg clone https://repos.goffi.org/sat && cd sat && \
74 python setup.py install --prefix /usr --install-lib /usr/lib/python2.7/dist-packages && \ 74 python setup.py install --prefix /usr --install-lib /usr/lib/python2.7/dist-packages && \
75 # we copy .hg/dirstate so SàT can get repository version 75 # we save repository data so SàT can get repository version
76 # TODO: should be done in setup.py in the future 76 # TODO: should be done in setup.py in the future
77 cp --parents .hg/dirstate /usr/lib/python2.7/dist-packages/sat && \ 77 python -c 'from sat.tools import utils;utils.getRepositoryData("/tmp/sat", is_path=True, save_dir_path="/usr/lib/python2.7/dist-packages/sat")' && \
78 cd /tmp && rm -rf sat && \ 78 cd /tmp && rm -rf sat && \
79 79
80 ###################### 80 ######################
81 # SàT CONFIGURATION # 81 # SàT CONFIGURATION #
82 ###################### 82 ######################