FROM ubuntu:16.04 ENV LANG C # Install all the upstream packages required for testing any P4PHP artifact # Repetition is harmless, makes clear what each artifact needs # Configure the Alameda apt cache proxy #RUN echo 'Acquire::http { Proxy "http://package-os.perforce.com:3142"; };' > /etc/apt/apt.conf.d/50proxy # Get latest package lists RUN apt-get update # Basic UNIX tools needed when debugging this test RUN apt-get install -y bash sudo wget tar --allow-unauthenticated # Compilers libraries and header files required for building p4php.archive RUN apt-get install -y php php-dev make g++ --allow-unauthenticated