annotate deploy/linux/docker/Dockerfile_deb.in @ 724:c59c17665162

Further macOS deployment fixes
author Chris Cannam <cannam@all-day-breakfast.com>
date Fri, 14 Dec 2018 17:28:31 +0000
parents 6fb20633da00
children 48e746f45bde
rev   line source
Chris@706 1 FROM ubuntu:14.04
Chris@706 2 MAINTAINER Chris Cannam <cannam@all-day-breakfast.com>
Chris@706 3 RUN apt-get update && \
Chris@706 4 apt-get install -y \
Chris@706 5 software-properties-common \
Chris@706 6 build-essential \
Chris@706 7 libbz2-dev \
Chris@706 8 libxml2-utils \
Chris@706 9 libgl1-mesa-dev \
Chris@706 10 qt5-default libqt5svg5-dev \
Chris@706 11 git \
Chris@706 12 mercurial \
Chris@706 13 curl wget \
Chris@706 14 mlton \
Chris@706 15 autoconf automake libtool lintian
Chris@706 16
Chris@706 17 RUN apt-get clean && rm -rf /var/lib/apt/lists/*
Chris@706 18
Chris@706 19 RUN locale-gen en_US.UTF-8
Chris@706 20 ENV LANG en_US.UTF-8
Chris@706 21 ENV LANGUAGE en_US:en
Chris@706 22 ENV LC_ALL en_US.UTF-8
Chris@706 23
Chris@716 24 # Ensure that everything subsequent is re-run when a new revision is
Chris@716 25 # being built (rather than being cached)
Chris@716 26 RUN echo [[REVISION]]
Chris@716 27
Chris@706 28 WORKDIR /root
Chris@706 29 COPY id_dsa_build .ssh/id_dsa_build
Chris@706 30 COPY known_hosts .ssh/known_hosts
Chris@706 31 RUN chmod 600 .ssh/id_dsa_build .ssh/known_hosts
Chris@706 32 RUN echo '{"accounts": {"bitbucket": "cannam"}}' > .repoint.json
Chris@706 33 RUN ( echo '[ui]' ; echo 'ssh = ssh -i /root/.ssh/id_dsa_build' ) > .hgrc
Chris@706 34
Chris@706 35 WORKDIR /
Chris@706 36 RUN hg clone -r[[REVISION]] ssh://hg@bitbucket.org/cannam/easyhg
Chris@706 37
Chris@706 38 WORKDIR /easyhg
Chris@706 39 RUN qmake -r
Chris@706 40 RUN make
Chris@706 41
Chris@706 42 RUN deploy/linux/deploy-deb.sh [[RELEASE]] amd64
Chris@706 43 RUN tar cvf output-deb.tar *.deb && cp output-deb.tar ..