Skip to content

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

License

Notifications You must be signed in to change notification settings

goclearsky/php-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published