Single purpose light weight Drupal image for development.
2.5K
This image builds from the jantoine/drupal:7 image adding the following development configuration and tools:
This image builds off of the jantoine/drupal image adding the following development configuration and tools:
This image provides required HOST_UID and HOST_USER environment variables that are used to create a user within the container that is granted sudo access with no password requirement. The intention is that this user would match the current user on the host to avoid file ownership issues that arise when operating as a different user within the container.
This first example creates a container setting the HOST_UID and HOST_USER environment variables and starts an interactive BASH session as the created user. It also sets the APACHE_RUN_USER environment variable from the php:apache image to the same user.
docker run -e APACHE_RUN_USER="user" -e HOST_UID="1000" -e HOST_USER="user" -it --rm jantoine/drupal-dev su - user
This second example execs into an existing container as the current user.
docker exec -it -u="user" [CONTAINER_NAME] bash
Content type
Image
Digest
Size
282.7 MB
Last updated
almost 6 years ago
docker pull jantoine/drupal-dev