FROM ubuntu:14.04 MAINTAINER Robert Cowham "rcowham@perforce.com" ENV DEBIAN_FRONTEND noninteractive RUN apt-get update; \ apt-get install -y wget; \ wget -q http://package.perforce.com/perforce.pubkey -O - | sudo apt-key add - ; \ echo 'deb http://package.perforce.com/apt/ubuntu trusty release' > /etc/apt/sources.list.d/perforce.sources.list; \ apt-get update; \ apt-get install -y perforce-server; \ apt-get install -y perforce-p4python COPY run_in_docker.sh / COPY run_p4d.sh / EXPOSE 1777 CMD ["/run_in_docker.sh"]