https://github.com/eugenesia/docker-library-php
Additional PHP versions for Docker, forked from https://github.com/docker-library/php
https://github.com/eugenesia/docker-library-php
Last synced: about 2 months ago
JSON representation
Additional PHP versions for Docker, forked from https://github.com/docker-library/php
- Host: GitHub
- URL: https://github.com/eugenesia/docker-library-php
- Owner: eugenesia
- License: mit
- Created: 2017-03-02T00:54:21.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-10T05:52:19.000Z (about 8 years ago)
- Last Synced: 2025-02-12T02:47:55.069Z (4 months ago)
- Language: Shell
- Size: 697 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker Library PHP - additional PHP versions
This is a fork of the official Docker Library PHP image https://github.com/docker-library/php/ with additional PHP versions.
Branches:
* docker-library-master: Master branch from original Docker Library repo https://github.com/docker-library/php/ .
* master: Master branch for this repo. Will be merged with docker-library-master regularly.## Create Docker images - example
```bash
cd 5.6/apache
docker build . -t eugenesia/php:5.6-apache
```## Update Dockerfiles - example
For PHP >= 5.5:
```bash
./update.sh 5.5
./update.sh 5.6
./update.sh 7.0
./update.sh 7.1
```For PHP <= 5.4:
```bash
./update-gz.sh 5.4
# ./update-gz.sh 5.3 (compiling PHP 5.3 fails for a number of reasons)
```## Dev notes
Merge with upstream original repository at docker-library:
```bash
git remote add upstream [email protected]:docker-library/php.git
git fetch upstream
git checkout master
git merge upstream/master
# Check which local branch is tracking which remote branch.
git branch -vv
```References:
* Configuring a remote for a fork: https://help.github.com/articles/configuring-a-remote-for-a-fork/
* Syncing a fork: https://help.github.com/articles/syncing-a-fork/