Chris@706: # This pulls the latest versions of capnp & SV from repos - so you Chris@706: # will need to defeat the Docker cache by destroying the container Chris@706: # each time you want to update it Chris@706: # Chris@706: FROM ubuntu:14.04 Chris@706: MAINTAINER Chris Cannam Chris@706: RUN apt-get update && \ Chris@706: apt-get install -y \ Chris@706: software-properties-common \ Chris@706: build-essential \ Chris@706: libbz2-dev \ Chris@706: libxml2-utils \ Chris@706: libgl1-mesa-dev \ Chris@706: qt5-default libqt5svg5-dev \ Chris@706: git \ Chris@706: mercurial \ Chris@706: curl wget \ Chris@706: mlton \ Chris@706: autoconf automake libtool lintian Chris@706: Chris@706: RUN apt-get clean && rm -rf /var/lib/apt/lists/* Chris@706: Chris@706: RUN locale-gen en_US.UTF-8 Chris@706: ENV LANG en_US.UTF-8 Chris@706: ENV LANGUAGE en_US:en Chris@706: ENV LC_ALL en_US.UTF-8 Chris@706: Chris@706: WORKDIR /root Chris@706: COPY id_dsa_build .ssh/id_dsa_build Chris@706: COPY known_hosts .ssh/known_hosts Chris@706: RUN chmod 600 .ssh/id_dsa_build .ssh/known_hosts Chris@706: RUN echo '{"accounts": {"bitbucket": "cannam"}}' > .repoint.json Chris@706: RUN ( echo '[ui]' ; echo 'ssh = ssh -i /root/.ssh/id_dsa_build' ) > .hgrc Chris@706: Chris@706: WORKDIR / Chris@706: RUN hg clone -r[[REVISION]] ssh://hg@bitbucket.org/cannam/easyhg Chris@706: Chris@706: WORKDIR /easyhg Chris@706: RUN qmake -r Chris@706: RUN make Chris@706: Chris@706: RUN deploy/linux/deploy-deb.sh [[RELEASE]] amd64 Chris@706: RUN tar cvf output-deb.tar *.deb && cp output-deb.tar ..