Skip to content

iMi-digital/devbuntu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

devbuntu

Docker Pulls

iMi standard PHP dev box as docker image.

It has php, apache2, mariadb-client, composer, phive, iMi's special iRobo fork, n98-magerun, none js, yarn, bower and gulp installed.

Currently beta.

Supported tags and respective Dockerfile links

Each tag is also available as a "base" version with only php and apache installed, no tools.

Usage

Simply run

docker run -v $PWD:/var/www/html -p 80:80 --name devbuntu -d imid/devbuntu

This will run the image in the latest stable php version (7.2) with your current directory mounted to /var/www/html.

To connect inside the container to execute for example composer, run

docker exec -it devbuntu bash

This will throw you in a bash session inside the container.

Change apache webroot

You can change the apache webroot by using the APACHE_DOCUMENT_ROOT environment variable, for example:

docker run -v $PWD:/var/www/html -p 80:80 -e APACHE_DOCUMENT_ROOT=/var/www/html/public --name devbuntu -d imid/devbuntu

Becoming www-data inside of the container

Apache runs with the user www-data. To ensure correct permissions, it sometimes is useful to become the user running the webserver. To do this inside the docker container, simply run

~$ w3d

Contributing

If you run into any issues with the image or discover a bug, feel free to create a new issue on Github.

Or, if you have any improvements to the image, fork and create a pull request.

General help and feedback is below in the comments.

About Us

iMi digital GmbH offers Magento & Laravel related open source modules. If you are confronted with any bugs, you may want to open an issue here.

In need of support or an implementation of a modul in an existing system, feel free to contact us. In this case, we will provide full service support for a fee.

Of course we provide development of closed-source modules or full magento shops as well.

License

Copyright 2018 iMi digital GmbH Licensed under MIT

About

iMi standard PHP dev box as docker image

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published