Public | Automated Build

Last pushed: 4 days ago
Short Description
Short description is empty for this repo.
Full Description

Bexio PHP Image

Docker apache/PHP images

Usage

FROM easysys/php:latest

# Install php modules
RUN apt-get update \
  &&  apt-get install -y --no-install-recommends \
      # Add your required PHP modules here.
  # Make use of the variable `${php_version}` so you can reuse your
  # Dockerfile throughout PHP versions.
  # NOTE: PHP 5.5 uses inconsistent nameing. some packages start with
  # `php-` others with `php5-`.
      php${php_version}-mysql \
  && apt-get clean \
  && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Add application
# See https://sentinelstand.com/article/composer-install-in-dockerfile-without-breaking-cache
COPY composer.json ./
COPY composer.lock ./
RUN composer install \
  --no-autoloader \
  --no-dev \
  --no-interaction \
  --no-progress \
  --no-scripts \
  --no-suggest
COPY . ./
RUN composer dump-autoload \
  --classmap-authoritative \
  --no-dev

Contributing

This repository uses a master Dockerfile and a Makefile in order to generate
Dockerfiles for each supportet version which then can be build as automated
build on Dockerhub. Make sure you do not edit the per version Dockerfiles
directly. Instead edit the Dockerfile in the root directlry and then execute
make to update the other Dockerfiles and commit the changes all together.

Docker Pull Command
Owner
easysys
Source Repository