Sign inSign up

pilulkacz/php-apache

By pilulkacz

•Updated about 6 years ago

Image
0

1.0K

pilulkacz/php-apache repository overview

⁠php-apache

Docker repository for PHP 7.3 environment.

There is posibility to run initial scripts which are located in /init.d

Example File: echo.sh

#!/bin/bash
echo "Hello World!"

with docker-compose.yml

version: '3'
services:
  web:
    build: .
    volumes:
      - ./echo.sh:/init.d/echo.sh
    ports:
      - 8080:80
      - 8443:443

Will produce Hello World! on container start.

Where to use it?

  • enable some services on container start (e.g. supervisor)
  • run some custom scripts on container build
  • ...

VERSIONS

  • v1.0 - php 7.3 (apache)
  • v1.1 - php 7.4 (apache)

Tag summary

Content type

Image

Digest

Size

250.8 MB

Last updated

about 6 years ago

docker pull pilulkacz/php-apache:version-1.1