comparison deploy/linux/docker/Dockerfile_appimage.in @ 701:0720152d1914

Further Linux packaging work
author Chris Cannam
date Wed, 12 Dec 2018 10:23:55 +0000
parents
children bfd6014ee278
comparison
equal deleted inserted replaced
700:21e4df9865af 701:0720152d1914
1 FROM ubuntu:14.04
2 MAINTAINER Chris Cannam <cannam@all-day-breakfast.com>
3 RUN apt-get update && \
4 apt-get install -y \
5 software-properties-common \
6 build-essential \
7 libbz2-dev \
8 libxml2-utils \
9 libgl1-mesa-dev \
10 git \
11 mercurial \
12 curl wget \
13 mlton \
14 autoconf automake libtool lintian
15
16 RUN apt-add-repository -y ppa:beineri/opt-qt-5.10.1-trusty
17 RUN apt-get update && \
18 apt-get install -y \
19 qt510base \
20 qt510svg
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://bitbucket.org/cannam/easyhg
37
38 WORKDIR /easyhg
39 ENV QTDIR /opt/qt510
40 ENV PATH /opt/qt510/bin:$PATH
41 RUN ./configure
42 RUN make
43
44 RUN deploy/linux/deploy-appimage.sh
45 RUN tar cvf output-appimage.tar *.AppImage && cp output-appimage.tar ..