Imagen docker con centos 7 y lampp - tukiyo3 / centos7-lampp

Esta imagen es una forma muy sencilla de crear una servidor lampp - (linux-apache-mysql-php).
En esta ocasion el sistema operativo utilizado es Centos7 con MariaDB 5.5.37

Primero se descarga  la imagen:

docker pull tukiyo3/centos7-lampp


docker run --privileged -it -d -p 8080:80 --name centos7 tukiyo3/centos7-lampp docker exec -it centos7 bash




El dockerfile es:

FROM tukiyo3/centos7-ansible RUN \ exec >& /root/build-lampp.log ;\ set -eux ;\ echo ;\ cd /tmp ;\ git clone -b docker-lampp https://github.com/tukiyo/setup_centos7.git ;\ cd /tmp/setup_centos7/first; ./run.sh ;\ cd /tmp/setup_centos7/second; ./run.sh ;\ cd /tmp/setup_centos7/lampp; ./run.sh ;\ echo ;\ cd /etc/systemd/system/multi-user.target.wants/ ;\ test ! -e httpd.service && ln -s /usr/lib/systemd/system/httpd.service . ;\ test ! -e mariadb.service && ln -s /usr/lib/systemd/system/mariadb.service . ;\ test ! -e postfix.service && ln -s /usr/lib/systemd/system/postfix.service . ;\ test ! -e dovecot.service && ln -s /usr/lib/systemd/system/dovecot.service . ;\ test ! -e zabbix-agent.service && ln -s /usr/lib/systemd/system/zabbix-agent.service . ;\ rm -rf /tmp/setup_centos7 ;\ yum clean all

Comentarios