Public | Automated Build

Last pushed: a day ago
Short Description
Debian Jessie + Dotdeb (https://www.dotdeb.org/) based PHP 7 images
Full Description

Dockerfiles

php:7 / php:7-v8js

  • Based on debian:stretch image.
  • Installs php7.0-cli package.
  • Additional PHP extensions can be installed basing on this image:
FROM jakubkulhan/php:7

RUN set -ex && \
    apt-get update && \
    apt-get install -y php7.0-intl && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
  • php:7-v8js comes with compiled v8js extension.

php:7-fpm / php:7-fpm-v8js

  • Based on jakubkulhan/php:7 (therefor debian:stretch) image.
  • Additionally installs php7.0-fpm and provides basic configuration:
    • Logs from FPM and worker processes are redirected to stderr.
    • Pool www with dynamic process management configuration (min 4, max 64 workers), memory_limit = 64M and open_basedir = /srv.
  • Add your application to /srv, "document root" is /srv/www:
FROM jakubkulhan/php:7-fpm
COPY . /srv
  • php:7-fpm-v8js comes with compiled v8js extension.

java:8-jdk

  • Java 8 JDK.

java:8-jre

  • Java 8 JRE.

nginx:latest

  • Nginx with better default configuration:
    • Default server will reject unknown host, not default to first defined host.
    • SSL settings goodies.
      • Contains pre-generated non-standard elliptic curve for DH key exchange, however, you should generate and use one yourself and mount it to /etc/nginx/ssl/dhparam2048.pem.
  • Mount volume with HTTP sites configuration to /etc/nginx/sites, Nginx will pick it up.
Docker Pull Command
Owner
jakubkulhan
Source Repository

Comments (0)