Skip to content

A docker image with php 7 dev version , its 1 GB after the process.

Notifications You must be signed in to change notification settings

cmprecycle/-remove-docker-php7-alpine

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Container for PHP 7

This is a docker container for PHP 7 mainly the cli. Alpine Linux base image and compiles PHP after cloning it from php source git repo. This image is based on this tutorial.

Pull it from docker registry

To pull the docker image you can do it with:

docker pull geshan/php7-alpine

Usage

Then run the following commands to run php 7:

docker run -v $(pwd):/var/www geshan/php7-alpine "php --version"

Commands inside the container

Run:

docker run -it $(pwd):/var/www geshan/php7-alpine /bin/sh

Then run your commands with php.

About

A docker image with php 7 dev version , its 1 GB after the process.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%