Mercurial > hg > easyhg
comparison deploy/linux/docker/Dockerfile_deb.in @ 706:345c12e02e3e
Further Linux build bits
author | Chris Cannam |
---|---|
date | Wed, 12 Dec 2018 11:12:23 +0000 |
parents | |
children | 6fb20633da00 |
comparison
equal
deleted
inserted
replaced
705:b93d662a12df | 706:345c12e02e3e |
---|---|
1 # This pulls the latest versions of capnp & SV from repos - so you | |
2 # will need to defeat the Docker cache by destroying the container | |
3 # each time you want to update it | |
4 # | |
5 FROM ubuntu:14.04 | |
6 MAINTAINER Chris Cannam <cannam@all-day-breakfast.com> | |
7 RUN apt-get update && \ | |
8 apt-get install -y \ | |
9 software-properties-common \ | |
10 build-essential \ | |
11 libbz2-dev \ | |
12 libxml2-utils \ | |
13 libgl1-mesa-dev \ | |
14 qt5-default libqt5svg5-dev \ | |
15 git \ | |
16 mercurial \ | |
17 curl wget \ | |
18 mlton \ | |
19 autoconf automake libtool lintian | |
20 | |
21 RUN apt-get clean && rm -rf /var/lib/apt/lists/* | |
22 | |
23 RUN locale-gen en_US.UTF-8 | |
24 ENV LANG en_US.UTF-8 | |
25 ENV LANGUAGE en_US:en | |
26 ENV LC_ALL en_US.UTF-8 | |
27 | |
28 WORKDIR /root | |
29 COPY id_dsa_build .ssh/id_dsa_build | |
30 COPY known_hosts .ssh/known_hosts | |
31 RUN chmod 600 .ssh/id_dsa_build .ssh/known_hosts | |
32 RUN echo '{"accounts": {"bitbucket": "cannam"}}' > .repoint.json | |
33 RUN ( echo '[ui]' ; echo 'ssh = ssh -i /root/.ssh/id_dsa_build' ) > .hgrc | |
34 | |
35 WORKDIR / | |
36 RUN hg clone -r[[REVISION]] ssh://hg@bitbucket.org/cannam/easyhg | |
37 | |
38 WORKDIR /easyhg | |
39 RUN qmake -r | |
40 RUN make | |
41 | |
42 RUN deploy/linux/deploy-deb.sh [[RELEASE]] amd64 | |
43 RUN tar cvf output-deb.tar *.deb && cp output-deb.tar .. |