Chris@701: FROM ubuntu:14.04 Chris@701: MAINTAINER Chris Cannam Chris@701: RUN apt-get update && \ Chris@701: apt-get install -y \ Chris@701: software-properties-common \ Chris@701: build-essential \ Chris@701: libbz2-dev \ Chris@701: libxml2-utils \ Chris@701: libgl1-mesa-dev \ Chris@701: git \ Chris@701: mercurial \ Chris@701: curl wget \ Chris@701: mlton \ Chris@701: autoconf automake libtool lintian Chris@701: Chris@701: RUN apt-add-repository -y ppa:beineri/opt-qt-5.10.1-trusty Chris@701: RUN apt-get update && \ Chris@701: apt-get install -y \ Chris@701: qt510base \ Chris@701: qt510svg Chris@701: RUN apt-get clean && rm -rf /var/lib/apt/lists/* Chris@701: Chris@701: RUN locale-gen en_US.UTF-8 Chris@701: ENV LANG en_US.UTF-8 Chris@701: ENV LANGUAGE en_US:en Chris@701: ENV LC_ALL en_US.UTF-8 Chris@701: Chris@701: WORKDIR /root Chris@701: COPY id_dsa_build .ssh/id_dsa_build Chris@701: COPY known_hosts .ssh/known_hosts Chris@701: RUN chmod 600 .ssh/id_dsa_build .ssh/known_hosts Chris@701: RUN echo '{"accounts": {"bitbucket": "cannam"}}' > .repoint.json Chris@701: RUN ( echo '[ui]' ; echo 'ssh = ssh -i /root/.ssh/id_dsa_build' ) > .hgrc Chris@701: Chris@701: WORKDIR / Chris@701: RUN hg clone -r[[REVISION]] ssh://bitbucket.org/cannam/easyhg Chris@701: Chris@701: WORKDIR /easyhg Chris@701: ENV QTDIR /opt/qt510 Chris@701: ENV PATH /opt/qt510/bin:$PATH Chris@701: RUN ./configure Chris@701: RUN make Chris@701: Chris@701: RUN deploy/linux/deploy-appimage.sh Chris@701: RUN tar cvf output-appimage.tar *.AppImage && cp output-appimage.tar ..