comparison deploy/linux/docker/Dockerfile_deb.in @ 716:6fb20633da00

Defeat cacheing; switch to 16.04 for deb build (no point in trying to support 14.04 as it doesn't have the python-pyqt5 package that is one of our dependencies)
author Chris Cannam
date Wed, 12 Dec 2018 14:10:55 +0000
parents 345c12e02e3e
children 48e746f45bde
comparison
equal deleted inserted replaced
715:665da28f1da8 716:6fb20633da00
1 # This pulls the latest versions of capnp & SV from repos - so you
2 # will need to defeat the Docker cache by destroying the container
3 # each time you want to update it
4 #
5 FROM ubuntu:14.04 1 FROM ubuntu:14.04
6 MAINTAINER Chris Cannam <cannam@all-day-breakfast.com> 2 MAINTAINER Chris Cannam <cannam@all-day-breakfast.com>
7 RUN apt-get update && \ 3 RUN apt-get update && \
8 apt-get install -y \ 4 apt-get install -y \
9 software-properties-common \ 5 software-properties-common \
23 RUN locale-gen en_US.UTF-8 19 RUN locale-gen en_US.UTF-8
24 ENV LANG en_US.UTF-8 20 ENV LANG en_US.UTF-8
25 ENV LANGUAGE en_US:en 21 ENV LANGUAGE en_US:en
26 ENV LC_ALL en_US.UTF-8 22 ENV LC_ALL en_US.UTF-8
27 23
24 # Ensure that everything subsequent is re-run when a new revision is
25 # being built (rather than being cached)
26 RUN echo [[REVISION]]
27
28 WORKDIR /root 28 WORKDIR /root
29 COPY id_dsa_build .ssh/id_dsa_build 29 COPY id_dsa_build .ssh/id_dsa_build
30 COPY known_hosts .ssh/known_hosts 30 COPY known_hosts .ssh/known_hosts
31 RUN chmod 600 .ssh/id_dsa_build .ssh/known_hosts 31 RUN chmod 600 .ssh/id_dsa_build .ssh/known_hosts
32 RUN echo '{"accounts": {"bitbucket": "cannam"}}' > .repoint.json 32 RUN echo '{"accounts": {"bitbucket": "cannam"}}' > .repoint.json