ATTENTION - THIS REPO MOVED TO kool-dev/docker-php
fwd
is dead, long livekool
(check it out now!)
This repository is deprecated and archived in favour of Kool maintened PHP images: https://github.com/kool-dev/docker-php
Below you will find original fireworkweb/docker-php
README for the sake of historic value.
Minimal PHP Docker image focused on Laravel applications. Its use is intended for fwd, but can fit in any other PHP use-case.
With docker run
:
docker run -it --rm fireworkweb/app:7.3-alpine php -v
You can also enable Xdebug:
docker run -it --rm -e ENABLE_XDEBUG=true fireworkweb/app:7.3-alpine php -v
With docker-compose.yml
:
app:
build:
context: ./docker/app
dockerfile: Dockerfile
ports:
- "9773:9773"
volumes:
- ".:/app:cached"
- "$HOME/.ssh/id_rsa:/home/developer/.ssh/id_rsa:cached"
environment:
ASUSER: "${$UID}"
- 7.1-alpine
- 7.1-alpine-wkhtmltopdf
- 7.2-alpine
- 7.2-alpine-wkhtmltopdf
- 7.3-alpine
- 7.3-alpine-wkhtmltopdf
ASUSER: Changes the user id that executes the commands ENABLE_XDEBUG: Enables the Xdebug extension
You should only change fwd-template.json
and template
folder, after you do your changes run fwd template
compile the template and generate all version folder / files.
The MIT License (MIT). Please see License File for more information.