Skip to content

mobingidocker/ubuntu-s6-apache2-php7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ubuntu-s6-apache2-php7(-with-cron)

run php server under Apache httpd + mod_php and crond.

  • codeDir: /var/www/html (by default. you can change to /var/www/html/public by setting.)
  • DocumentRoot: /var/www/html/public

Images are published at mobingi/ubuntu-s6-apache2-php7:tagname.

This image built based on mobingidocker/dockerimage-boilerplate.

$ docker build -f 7.2/Dockerfile -t ubuntu-apache2-php7:7.2 .

Run like under the alm-agent.

$ git clone https://github.com/mobingilabs/default-site-php -b dir_public test/code
$ docker run --rm \
  -v `pwd`/test/code:/var/www/html/ \
  -v `pwd`/test/code/mobingi-init.sh:/tmp/init/init.sh \
  -p 8080:80 ubuntu-apache2-php7:7.2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published