Sign inSign up

fireworkweb/php

By fireworkweb

Updated about 6 years ago

PHP-FPM application image

Image
0

2.8K

fireworkweb/php repository overview

fireworkweb/docker-php

TravisCI

Minimal PHP Docker image focused on Laravel applications. Its use is intended for fwd, but can fit in any other PHP use-case.

Usage

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}"
Available Tags
  • 7.1-alpine
  • 7.1-alpine-wkhtmltopdf
  • 7.2-alpine
  • 7.2-alpine-wkhtmltopdf
  • 7.3-alpine
  • 7.3-alpine-wkhtmltopdf
Variables

ASUSER: Changes the user id that executes the commands ENABLE_XDEBUG: Enables the Xdebug extension

Contributing

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.

License

The MIT License (MIT). Please see License File for more information.

Tag summary

Content type

Image

Digest

Size

240.4 MB

Last updated

about 6 years ago

docker pull fireworkweb/php:7.4-full-wkhtmltopdf-prod