comparison docker/libervia/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
comparison
equal deleted inserted replaced
105:b69056368901 106:8b228fd053bc
61 61
62 ############ 62 ############
63 # LIBERVIA # 63 # LIBERVIA #
64 ############ 64 ############
65 65
66 hg clone https://repos.goffi.org/libervia && \ 66 cd /tmp && hg clone https://repos.goffi.org/libervia && \
67 67
68 cd libervia && \ 68 cd libervia && \
69 69
70 python setup.py install && \ 70 python setup.py install && \
71 71
72 # as for SàT backend, we copy .hg/dirstate so 72 # as for SàT backend, we save repos data
73 # Libervia can get repository version 73 # so Libervia can get repository version
74 # TODO: should be done in setup.py in the future 74 # TODO: should be done in setup.py in the future
75 cp --parents .hg/dirstate /usr/local/lib/python2.7/dist-packages/libervia && \ 75 python -c 'from sat.tools import utils;utils.getRepositoryData("/tmp/libervia", is_path=True, save_dir_path="/usr/local/lib/python2.7/dist-packages/libervia")' && \
76 76
77 # some cleaning before finishing the layer 77 # some cleaning before finishing the layer
78 cd /tmp && rm -rf libervia pyjamas /usr/local/bin/pyjsbuild 78 cd /tmp && rm -rf libervia pyjamas /usr/local/bin/pyjsbuild
79 79
80 ######### 80 #########