annotate deploy/linux/docker/Dockerfile_deb.in @ 736:3e6995d01c15

Update server certificate fingerprints
author Chris Cannam
date Wed, 14 Aug 2019 14:52:50 +0100
parents bd9a54f9aca8
children
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@727 42 RUN hg clone https://code.soundsoftware.ac.uk/hg/easyhg-kdiff3 easyhg-kdiff3-src
Chris@726 43 WORKDIR easyhg-kdiff3-src/kdiff3/src-QT4
Chris@725 44 RUN qmake -r kdiff3.pro
Chris@725 45 RUN make
Chris@725 46 RUN cp kdiff3 ../../../easyhg-kdiff3
Chris@725 47
Chris@725 48 WORKDIR /easyhg
Chris@706 49 RUN deploy/linux/deploy-deb.sh [[RELEASE]] amd64
Chris@706 50 RUN tar cvf output-deb.tar *.deb && cp output-deb.tar ..