Categories

Debian – Docker Container Apache2 – PHP7

Create container – Apach2 and PHP7

Create Dockerfile

root@debian8:~/GISPRO# more Dockerfile

#Docker file Apache 2 + PHP 7.0

FROM debian

MAINTAINER khanh dinh / docker-apache2-php7.0

RUN export DEBIAN_FRONTEND=noninteractive

ENV DEBIAN_FRONTEND noninteractive

RUN dpkg-divert –local –rename –add /sbin/initctl

RUN apt-get update

RUN apt-get install -y wget apt-utils

#add

RUN echo “deb http://packages.dotdeb.org jessie all” > /etc/apt/sources.list.d/dotdeb.list

[…]