Skip to content

gaydabura/docker-php

 
 

Repository files navigation

Use run.sh to fetch Drupal 8.1-dev and start containers.

Use docker-compose stop to stop containers and docker-compose rm to clean-up.

Local db directory stores mysql database files and drupal hold core.

Hints

For use drush directly from host machine you can specify next alias

alias dr="cd /path/to/docker-copmose.yml && docker-compose exec web drush"

How to customize and extend this project

If you want to add some packages you should:

Example of php7-xdebug

  1. Create new container folder with own Dockerfile and extend this container from base one.
```
FROM skilldlabs/php:7
MAINTAINER Andy Postnikov <[email protected]>

RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing \
  php7-xdebug
```
  1. Change build reference in docker-compose.yml file
  web:
    #build: php7/.
    # path to your custom container.
    build: php7-xdebug/.

About

Drupal 8.1 on php7 dev containers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 72.4%
  • Shell 27.6%