Skip to content

spacetab-io/docker-amphp-php

Repository files navigation

Docker

Docker image configured for amphp in production use.

Docker images

8.0

  • Coming soon.

7.4

  • spacetabio/amphp-alpine:7.4-base-1.1.1 – Simple image with PHP and pre-installed extensions.
    Docker Image Size (tag) Docker Image Version (tag latest semver)
  • spacetabio/amphp-alpine:7.4-wkhtmltopdf-1.1.1 – Image where installed wkhtmltopdf and wkhtmltoimage to create PDF's and Images from HTML or URI. Non-blocking PHP wrapper available at the link.
    Docker Image Size (tag) Docker Image Version (tag latest semver)

With xdebug:

  • spacetabio/amphp-alpine:7.4-base-xdebug-1.1.1 – Simple image with PHP and pre-installed extensions.
    Docker Image Size (tag) Docker Image Version (tag latest semver)
  • spacetabio/amphp-alpine:7.4-wkhtmltopdf-xdebug-1.1.1 – Image where installed wkhtmltopdf and wkhtmltoimage to create PDF's and Images from HTML or URI. Non-blocking PHP wrapper available at the link.
    Docker Image Size (tag) Docker Image Version (tag latest semver)

With composer (v1) and xdebug (for tests purposes):

  • spacetabio/amphp-alpine:7.4-test-xdebug-1.2.0 – Simple image with PHP and pre-installed extensions.
    Docker Image Size (tag) Docker Image Version (tag latest semver)

Note: this image using bash as default shell. Other images uses /bin/sh.

Basic usage

FROM spacetabio/amphp-alpine:7.4-base-1.1.1

COPY . /app

# cli commands should be created in the responsible service. 
CMD ["bin/service", "run"]

Extensions

As default php-extensions are pre-installed:

  • opcache
  • pnctl
  • php-uv
  • yaml
  • intl

Version format

{phpVersion}-{imageType}-{semverImageVersion}

Changelog

License

The MIT License

Copyright © 2021 spacetab.io, Inc. https://spacetab.io

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.