Skip to content
goclearskyPublic

About

PHP dev with composer 1/2, and other required for CakePHP dev and test

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

PHP Dev

Includes both composer v1 and v2, various database pdo's, and other elements required for CakePHP dev and test.

Makefile

Include the push option to automatically push to docker hub.

make [push=true] <version>
  • Versions
    • 7.1, 7.2, 7.3, 7.4
    • 8.0, 8.1, 8.2

docker-compose

services:
  php71:
    container_name: php71
    image: goclearsky/php-dev:7.1-apache
    restart: always
    ports:
      - "7180:80"
      - "7143:443"
    depends_on:
      - db
    volumes:
      - ${PWD}:/var/www/html
      - /srv/composer-cache:/var/www/.composer

Access the shell as www-data

docker exec -it --user www-data php71 /bin/bash

About

PHP dev with composer 1/2, and other required for CakePHP dev and test

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages