annotate deploy/linux/docker/Dockerfile_appimage.in @ 704:bec2618313d8

Not configure
author Chris Cannam
date Wed, 12 Dec 2018 10:31:13 +0000
parents bfd6014ee278
children b93d662a12df
rev   line source
Chris@701 1 FROM ubuntu:14.04
Chris@701 2 MAINTAINER Chris Cannam <cannam@all-day-breakfast.com>
Chris@701 3 RUN apt-get update && \
Chris@701 4 apt-get install -y \
Chris@701 5 software-properties-common \
Chris@701 6 build-essential \
Chris@701 7 libbz2-dev \
Chris@701 8 libxml2-utils \
Chris@701 9 libgl1-mesa-dev \
Chris@701 10 git \
Chris@701 11 mercurial \
Chris@701 12 curl wget \
Chris@701 13 mlton \
Chris@701 14 autoconf automake libtool lintian
Chris@701 15
Chris@701 16 RUN apt-add-repository -y ppa:beineri/opt-qt-5.10.1-trusty
Chris@701 17 RUN apt-get update && \
Chris@701 18 apt-get install -y \
Chris@701 19 qt510base \
Chris@701 20 qt510svg
Chris@701 21 RUN apt-get clean && rm -rf /var/lib/apt/lists/*
Chris@701 22
Chris@701 23 RUN locale-gen en_US.UTF-8
Chris@701 24 ENV LANG en_US.UTF-8
Chris@701 25 ENV LANGUAGE en_US:en
Chris@701 26 ENV LC_ALL en_US.UTF-8
Chris@701 27
Chris@701 28 WORKDIR /root
Chris@701 29 COPY id_dsa_build .ssh/id_dsa_build
Chris@701 30 COPY known_hosts .ssh/known_hosts
Chris@701 31 RUN chmod 600 .ssh/id_dsa_build .ssh/known_hosts
Chris@701 32 RUN echo '{"accounts": {"bitbucket": "cannam"}}' > .repoint.json
Chris@701 33 RUN ( echo '[ui]' ; echo 'ssh = ssh -i /root/.ssh/id_dsa_build' ) > .hgrc
Chris@701 34
Chris@701 35 WORKDIR /
Chris@703 36 RUN hg clone -r[[REVISION]] ssh://hg@bitbucket.org/cannam/easyhg
Chris@701 37
Chris@701 38 WORKDIR /easyhg
Chris@701 39 ENV QTDIR /opt/qt510
Chris@701 40 ENV PATH /opt/qt510/bin:$PATH
Chris@704 41 RUN qmake -r
Chris@701 42 RUN make
Chris@701 43
Chris@701 44 RUN deploy/linux/deploy-appimage.sh
Chris@701 45 RUN tar cvf output-appimage.tar *.AppImage && cp output-appimage.tar ..