annotate deploy/linux/docker/Dockerfile_deb.in @ 712:825d63ed6ca0

Correct package name
author Chris Cannam
date Wed, 12 Dec 2018 11:48:17 +0000
parents 345c12e02e3e
children 6fb20633da00
rev   line source
Chris@706 1 # This pulls the latest versions of capnp & SV from repos - so you
Chris@706 2 # will need to defeat the Docker cache by destroying the container
Chris@706 3 # each time you want to update it
Chris@706 4 #
Chris@706 5 FROM ubuntu:14.04
Chris@706 6 MAINTAINER Chris Cannam <cannam@all-day-breakfast.com>
Chris@706 7 RUN apt-get update && \
Chris@706 8 apt-get install -y \
Chris@706 9 software-properties-common \
Chris@706 10 build-essential \
Chris@706 11 libbz2-dev \
Chris@706 12 libxml2-utils \
Chris@706 13 libgl1-mesa-dev \
Chris@706 14 qt5-default libqt5svg5-dev \
Chris@706 15 git \
Chris@706 16 mercurial \
Chris@706 17 curl wget \
Chris@706 18 mlton \
Chris@706 19 autoconf automake libtool lintian
Chris@706 20
Chris@706 21 RUN apt-get clean && rm -rf /var/lib/apt/lists/*
Chris@706 22
Chris@706 23 RUN locale-gen en_US.UTF-8
Chris@706 24 ENV LANG en_US.UTF-8
Chris@706 25 ENV LANGUAGE en_US:en
Chris@706 26 ENV LC_ALL en_US.UTF-8
Chris@706 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 ..