Docs generator updated

This commit is contained in:
Greyscale 2019-08-15 21:31:34 +02:00
parent 8b26cd9db1
commit c316c6056d
6 changed files with 577 additions and 327 deletions

View file

@ -445,4 +445,24 @@ all:
$(MAKE) php-cli
$(MAKE) php-nginx
$(MAKE) php-apache
$(MAKE) latest
$(MAKE) latest
# ▓█████▄ ▒█████ ▄████▄ ██████
# ▒██▀ ██▌▒██▒ ██▒▒██▀ ▀█ ▒██ ▒
# ░██ █▌▒██░ ██▒▒▓█ ▄ ░ ▓██▄
# ░▓█▄ ▌▒██ ██░▒▓▓▄ ▄██▒ ▒ ██▒
# ░▒████▓ ░ ████▓▒░▒ ▓███▀ ░▒██████▒▒
# ▒▒▓ ▒ ░ ▒░▒░▒░ ░ ░▒ ▒ ░▒ ▒▓▒ ▒ ░
# ░ ▒ ▒ ░ ▒ ▒░ ░ ▒ ░ ░▒ ░ ░
# ░▄████ ▓█████▒ ███▄ █ ▓█████░ ██▀███ ▄▄▄ ▄▄▄█████▓ ▒█████ ██▀███
# ██▒ ▀█▒▓█ ▀░ ██ ▀█ █ ▓█ ▀░▓██ ▒ ██▒▒████▄ ▓ ██▒ ▓▒▒██▒ ██▒▓██ ▒ ██▒
# ▒██░▄▄▄░▒███ ▓██ ▀█ ██▒▒███ ▓██ ░▄█ ▒▒██ ▀█▄ ▒ ▓██░ ▒░▒██░ ██▒▓██ ░▄█ ▒
# ░▓█ ██▓▒▓█ ▄ ▓██▒ ▐▌██▒▒▓█ ▄ ▒██▀▀█▄ ░██▄▄▄▄██░ ▓██▓ ░ ▒██ ██░▒██▀▀█▄
# ░▒▓███▀▒░▒████▒▒██░ ▓██░░▒████▒░██▓ ▒██▒ ▓█ ▓██▒ ▒██▒ ░ ░ ████▓▒░░██▓ ▒██▒
# ░▒ ▒ ░░ ▒░ ░░ ▒░ ▒ ▒ ░░ ▒░ ░░ ▒▓ ░▒▓░ ▒▒ ▓▒█░ ▒ ░░ ░ ▒░▒░▒░ ░ ▒▓ ░▒▓░
# ░ ░ ░ ░ ░░ ░░ ░ ▒░ ░ ░ ░ ░▒ ░ ▒░ ▒ ▒▒ ░ ░ ░ ▒ ▒░ ░▒ ░ ▒░
# ░ ░ ░ ░ ░ ░ ░ ░ ░░ ░ ░ ▒ ░ ░ ░ ░ ▒ ░░ ░
.PHONY: docs
docs:
composer install -d doc/
./doc/gen

View file

@ -1,73 +0,0 @@
```bash
▄████ ▒█████ ███▄ █ ▓█████ ██▓ ▒█████
██▒ ▀█▒▒██▒ ██▒ ██ ▀█ █ ▓█ ▀ ▓██▒▒██▒ ██▒
▒██░▄▄▄░▒██░ ██▒▓██ ▀█ ██▒▒███ ▒██▒▒██░ ██▒
░▓█ ██▓▒██ ██░▓██▒ ▐▌██▒▒▓█ ▄ ░██░▒██ ██░
░▒▓███▀▒░ ████▓▒░▒██░ ▓██░░▒████▒ ██▓ ░██░░ ████▓▒░
░▒ ▒ ░ ▒░▒░▒░ ░ ▒░ ▒ ▒ ░░ ▒░ ░ ▒▓▒ ░▓ ░ ▒░▒░▒░
░▄▄▄▄ ░ ░▄▄▄░ ▒░ ░ ░██████░▓█████ ░ ░ ██▓ ███▄░▄███▓ ▄▄▄ ▄████ ▓█████
▓█████▄ ▒████▄░ ▒██ ▒░▓█ ▀ ░ ▓██▒▓██▒▀█▀ ██▒▒████▄ ██▒ ▀█▒▓█ ▀
▒██▒ ▄██▒██ ▀█▄ ░ ▓██▄ ▒███ ▒██▒▓██ ▓██░▒██ ▀█▄ ▒██░▄▄▄░▒███
▒██░█▀ ░██▄▄▄▄██ ▒ ██▒▒▓█ ▄ ░██░▒██ ▒██ ░██▄▄▄▄██ ░▓█ ██▓▒▓█ ▄
░▓█ ▀█▓ ▓█ ▓██▒▒██████▒▒░▒████▒ ░██░▒██▒ ░██▒ ▓█ ▓██▒░▒▓███▀▒░▒████▒
░▒▓███▀▒ ▒▒ ▓▒█░▒ ▒▓▒ ▒ ░░░ ▒░ ░ ░▓ ░ ▒░ ░ ░ ▒▒ ▓▒█░ ░▒ ▒ ░░ ▒░ ░
▒░▒ ░ ▒ ▒▒ ░░ ░▒ ░ ░ ░ ░ ░ ▒ ░░ ░ ░ ▒ ▒▒ ░ ░ ░ ░ ░ ░
░ ░ ░ ▒ ░ ░ ░ ░ ▒ ░░ ░ ░ ▒ ░ ░ ░ ░
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
```
[![Build Status](https://travis-ci.org/goneio/base-image.svg?branch=master)](https://travis-ci.org/goneio/base-image)
Docker PHP Base kit based on lessons learned from phusion/baseimage using runit to allow for multiple processes, featuring multiple versions of PHP and NodeJS.
| Image Name | File Size | Layers | Microbadger | PHP | Apache | Nginx | Node |
| ------------------------------------- | --------- | ----------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --- | ------ | ----- | ---- |
| gone/marshall:latest | 223MB | [![Layers](https://img.shields.io/badge/Layers-13-green.svg)](https://hub.docker.com/r/gone/marshall) | [![](https://images.microbadger.com/badges/image/gone/marshall:latest.svg)](https://microbadger.com/images/gone/marshall:latest "Get your own image badge on microbadger.com") | | | | |
| gone/php:apache-php7.0 | 347MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:apache-php7.0.svg)](https://microbadger.com/images/gone/php:apache-php7.0 "Get your own image badge on microbadger.com") | ✔ | ✔ | | |
| gone/php:apache-php7.0-2019-04-01 | 347MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:apache-php7.0-2019-04-01.svg)](https://microbadger.com/images/gone/php:apache-php7.0-2019-04-01 "Get your own image badge on microbadger.com") | ✔ | ✔ | | |
| gone/php:apache-php7.0-x86 | 347MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:apache-php7.0-x86.svg)](https://microbadger.com/images/gone/php:apache-php7.0-x86 "Get your own image badge on microbadger.com") | ✔ | ✔ | | |
| gone/php:apache-php7.0-x86-2019-04-01 | 347MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:apache-php7.0-x86-2019-04-01.svg)](https://microbadger.com/images/gone/php:apache-php7.0-x86-2019-04-01 "Get your own image badge on microbadger.com") | ✔ | ✔ | | |
| gone/php:apache-php7.1 | 348MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:apache-php7.1.svg)](https://microbadger.com/images/gone/php:apache-php7.1 "Get your own image badge on microbadger.com") | ✔ | ✔ | | |
| gone/php:apache-php7.1-2019-04-01 | 348MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:apache-php7.1-2019-04-01.svg)](https://microbadger.com/images/gone/php:apache-php7.1-2019-04-01 "Get your own image badge on microbadger.com") | ✔ | ✔ | | |
| gone/php:apache-php7.1-x86 | 348MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:apache-php7.1-x86.svg)](https://microbadger.com/images/gone/php:apache-php7.1-x86 "Get your own image badge on microbadger.com") | ✔ | ✔ | | |
| gone/php:apache-php7.1-x86-2019-04-01 | 348MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:apache-php7.1-x86-2019-04-01.svg)](https://microbadger.com/images/gone/php:apache-php7.1-x86-2019-04-01 "Get your own image badge on microbadger.com") | ✔ | ✔ | | |
| gone/php:apache-php7.2 | 351MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:apache-php7.2.svg)](https://microbadger.com/images/gone/php:apache-php7.2 "Get your own image badge on microbadger.com") | ✔ | ✔ | | |
| gone/php:apache-php7.2-2019-04-01 | 351MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:apache-php7.2-2019-04-01.svg)](https://microbadger.com/images/gone/php:apache-php7.2-2019-04-01 "Get your own image badge on microbadger.com") | ✔ | ✔ | | |
| gone/php:apache-php7.2-x86 | 351MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:apache-php7.2-x86.svg)](https://microbadger.com/images/gone/php:apache-php7.2-x86 "Get your own image badge on microbadger.com") | ✔ | ✔ | | |
| gone/php:apache-php7.2-x86-2019-04-01 | 351MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:apache-php7.2-x86-2019-04-01.svg)](https://microbadger.com/images/gone/php:apache-php7.2-x86-2019-04-01 "Get your own image badge on microbadger.com") | ✔ | ✔ | | |
| gone/php:apache-php7.3 | 351MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:apache-php7.3.svg)](https://microbadger.com/images/gone/php:apache-php7.3 "Get your own image badge on microbadger.com") | ✔ | ✔ | | |
| gone/php:apache-php7.3-2019-04-01 | 351MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:apache-php7.3-2019-04-01.svg)](https://microbadger.com/images/gone/php:apache-php7.3-2019-04-01 "Get your own image badge on microbadger.com") | ✔ | ✔ | | |
| gone/php:apache-php7.3-x86 | 351MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:apache-php7.3-x86.svg)](https://microbadger.com/images/gone/php:apache-php7.3-x86 "Get your own image badge on microbadger.com") | ✔ | ✔ | | |
| gone/php:apache-php7.3-x86-2019-04-01 | 351MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:apache-php7.3-x86-2019-04-01.svg)](https://microbadger.com/images/gone/php:apache-php7.3-x86-2019-04-01 "Get your own image badge on microbadger.com") | ✔ | ✔ | | |
| gone/php:cli | 464MB | [![Layers](https://img.shields.io/badge/Layers-29-orange.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:cli.svg)](https://microbadger.com/images/gone/php:cli "Get your own image badge on microbadger.com") | ✔ | | | |
| gone/php:cli-php7.0 | 341MB | [![Layers](https://img.shields.io/badge/Layers-20-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:cli-php7.0.svg)](https://microbadger.com/images/gone/php:cli-php7.0 "Get your own image badge on microbadger.com") | ✔ | | | |
| gone/php:cli-php7.0-x86 | 341MB | [![Layers](https://img.shields.io/badge/Layers-20-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:cli-php7.0-x86.svg)](https://microbadger.com/images/gone/php:cli-php7.0-x86 "Get your own image badge on microbadger.com") | ✔ | | | |
| gone/php:cli-php7.0-x86-2019-04-01 | 341MB | [![Layers](https://img.shields.io/badge/Layers-20-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:cli-php7.0-x86-2019-04-01.svg)](https://microbadger.com/images/gone/php:cli-php7.0-x86-2019-04-01 "Get your own image badge on microbadger.com") | ✔ | | | |
| gone/php:cli-php7.1 | 342MB | [![Layers](https://img.shields.io/badge/Layers-20-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:cli-php7.1.svg)](https://microbadger.com/images/gone/php:cli-php7.1 "Get your own image badge on microbadger.com") | ✔ | | | |
| gone/php:cli-php7.1-x86 | 342MB | [![Layers](https://img.shields.io/badge/Layers-20-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:cli-php7.1-x86.svg)](https://microbadger.com/images/gone/php:cli-php7.1-x86 "Get your own image badge on microbadger.com") | ✔ | | | |
| gone/php:cli-php7.1-x86-2019-03-25 | 431MB | [![Layers](https://img.shields.io/badge/Layers-20-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:cli-php7.1-x86-2019-03-25.svg)](https://microbadger.com/images/gone/php:cli-php7.1-x86-2019-03-25 "Get your own image badge on microbadger.com") | ✔ | | | |
| gone/php:cli-php7.1-x86-2019-04-01 | 342MB | [![Layers](https://img.shields.io/badge/Layers-20-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:cli-php7.1-x86-2019-04-01.svg)](https://microbadger.com/images/gone/php:cli-php7.1-x86-2019-04-01 "Get your own image badge on microbadger.com") | ✔ | | | |
| gone/php:cli-php7.2 | 344MB | [![Layers](https://img.shields.io/badge/Layers-20-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:cli-php7.2.svg)](https://microbadger.com/images/gone/php:cli-php7.2 "Get your own image badge on microbadger.com") | ✔ | | | |
| gone/php:cli-php7.2-x86 | 344MB | [![Layers](https://img.shields.io/badge/Layers-20-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:cli-php7.2-x86.svg)](https://microbadger.com/images/gone/php:cli-php7.2-x86 "Get your own image badge on microbadger.com") | ✔ | | | |
| gone/php:cli-php7.2-x86-2019-04-01 | 344MB | [![Layers](https://img.shields.io/badge/Layers-20-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:cli-php7.2-x86-2019-04-01.svg)](https://microbadger.com/images/gone/php:cli-php7.2-x86-2019-04-01 "Get your own image badge on microbadger.com") | ✔ | | | |
| gone/php:cli-php7.3 | 345MB | [![Layers](https://img.shields.io/badge/Layers-20-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:cli-php7.3.svg)](https://microbadger.com/images/gone/php:cli-php7.3 "Get your own image badge on microbadger.com") | ✔ | | | |
| gone/php:cli-php7.3-x86 | 345MB | [![Layers](https://img.shields.io/badge/Layers-20-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:cli-php7.3-x86.svg)](https://microbadger.com/images/gone/php:cli-php7.3-x86 "Get your own image badge on microbadger.com") | ✔ | | | |
| gone/php:cli-php7.3-x86-2019-04-01 | 345MB | [![Layers](https://img.shields.io/badge/Layers-20-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:cli-php7.3-x86-2019-04-01.svg)](https://microbadger.com/images/gone/php:cli-php7.3-x86-2019-04-01 "Get your own image badge on microbadger.com") | ✔ | | | |
| gone/php:nginx | 566MB | [![Layers](https://img.shields.io/badge/Layers-32-orange.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:nginx.svg)](https://microbadger.com/images/gone/php:nginx "Get your own image badge on microbadger.com") | ✔ | | ✔ | |
| gone/php:nginx-php7.0 | 351MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:nginx-php7.0.svg)](https://microbadger.com/images/gone/php:nginx-php7.0 "Get your own image badge on microbadger.com") | ✔ | | ✔ | |
| gone/php:nginx-php7.0-2019-04-01 | 351MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:nginx-php7.0-2019-04-01.svg)](https://microbadger.com/images/gone/php:nginx-php7.0-2019-04-01 "Get your own image badge on microbadger.com") | ✔ | | ✔ | |
| gone/php:nginx-php7.0-x86 | 351MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:nginx-php7.0-x86.svg)](https://microbadger.com/images/gone/php:nginx-php7.0-x86 "Get your own image badge on microbadger.com") | ✔ | | ✔ | |
| gone/php:nginx-php7.0-x86-2019-04-01 | 351MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:nginx-php7.0-x86-2019-04-01.svg)](https://microbadger.com/images/gone/php:nginx-php7.0-x86-2019-04-01 "Get your own image badge on microbadger.com") | ✔ | | ✔ | |
| gone/php:nginx-php7.1 | 351MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:nginx-php7.1.svg)](https://microbadger.com/images/gone/php:nginx-php7.1 "Get your own image badge on microbadger.com") | ✔ | | ✔ | |
| gone/php:nginx-php7.1-2019-03-25 | 438MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:nginx-php7.1-2019-03-25.svg)](https://microbadger.com/images/gone/php:nginx-php7.1-2019-03-25 "Get your own image badge on microbadger.com") | ✔ | | ✔ | |
| gone/php:nginx-php7.1-2019-04-01 | 351MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:nginx-php7.1-2019-04-01.svg)](https://microbadger.com/images/gone/php:nginx-php7.1-2019-04-01 "Get your own image badge on microbadger.com") | ✔ | | ✔ | |
| gone/php:nginx-php7.1-x86 | 351MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:nginx-php7.1-x86.svg)](https://microbadger.com/images/gone/php:nginx-php7.1-x86 "Get your own image badge on microbadger.com") | ✔ | | ✔ | |
| gone/php:nginx-php7.1-x86-2019-03-25 | 438MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:nginx-php7.1-x86-2019-03-25.svg)](https://microbadger.com/images/gone/php:nginx-php7.1-x86-2019-03-25 "Get your own image badge on microbadger.com") | ✔ | | ✔ | |
| gone/php:nginx-php7.1-x86-2019-04-01 | 351MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:nginx-php7.1-x86-2019-04-01.svg)](https://microbadger.com/images/gone/php:nginx-php7.1-x86-2019-04-01 "Get your own image badge on microbadger.com") | ✔ | | ✔ | |
| gone/php:nginx-php7.2 | 354MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:nginx-php7.2.svg)](https://microbadger.com/images/gone/php:nginx-php7.2 "Get your own image badge on microbadger.com") | ✔ | | ✔ | |
| gone/php:nginx-php7.2-2019-04-01 | 354MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:nginx-php7.2-2019-04-01.svg)](https://microbadger.com/images/gone/php:nginx-php7.2-2019-04-01 "Get your own image badge on microbadger.com") | ✔ | | ✔ | |
| gone/php:nginx-php7.2-x86 | 354MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:nginx-php7.2-x86.svg)](https://microbadger.com/images/gone/php:nginx-php7.2-x86 "Get your own image badge on microbadger.com") | ✔ | | ✔ | |
| gone/php:nginx-php7.2-x86-2019-04-01 | 354MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:nginx-php7.2-x86-2019-04-01.svg)](https://microbadger.com/images/gone/php:nginx-php7.2-x86-2019-04-01 "Get your own image badge on microbadger.com") | ✔ | | ✔ | |
| gone/php:nginx-php7.3 | 354MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:nginx-php7.3.svg)](https://microbadger.com/images/gone/php:nginx-php7.3 "Get your own image badge on microbadger.com") | ✔ | | ✔ | |
| gone/php:nginx-php7.3-2019-04-01 | 354MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:nginx-php7.3-2019-04-01.svg)](https://microbadger.com/images/gone/php:nginx-php7.3-2019-04-01 "Get your own image badge on microbadger.com") | ✔ | | ✔ | |
| gone/php:nginx-php7.3-x86 | 354MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:nginx-php7.3-x86.svg)](https://microbadger.com/images/gone/php:nginx-php7.3-x86 "Get your own image badge on microbadger.com") | ✔ | | ✔ | |
| gone/php:nginx-php7.3-x86-2019-04-01 | 354MB | [![Layers](https://img.shields.io/badge/Layers-23-green.svg)](https://hub.docker.com/r/gone/php) | [![](https://images.microbadger.com/badges/image/gone/php:nginx-php7.3-x86-2019-04-01.svg)](https://microbadger.com/images/gone/php:nginx-php7.3-x86-2019-04-01 "Get your own image badge on microbadger.com") | ✔ | | ✔ | |

22
README.template Normal file
View file

@ -0,0 +1,22 @@
```bash
▄████ ▒█████ ███▄ █ ▓█████ ██▓ ▒█████
██▒ ▀█▒▒██▒ ██▒ ██ ▀█ █ ▓█ ▀ ▓██▒▒██▒ ██▒
▒██░▄▄▄░▒██░ ██▒▓██ ▀█ ██▒▒███ ▒██▒▒██░ ██▒
░▓█ ██▓▒██ ██░▓██▒ ▐▌██▒▒▓█ ▄ ░██░▒██ ██░
░▒▓███▀▒░ ████▓▒░▒██░ ▓██░░▒████▒ ██▓ ░██░░ ████▓▒░
░▒ ▒ ░ ▒░▒░▒░ ░ ▒░ ▒ ▒ ░░ ▒░ ░ ▒▓▒ ░▓ ░ ▒░▒░▒░
░▄▄▄▄ ░ ░▄▄▄░ ▒░ ░ ░██████░▓█████ ░ ░ ██▓ ███▄░▄███▓ ▄▄▄ ▄████ ▓█████
▓█████▄ ▒████▄░ ▒██ ▒░▓█ ▀ ░ ▓██▒▓██▒▀█▀ ██▒▒████▄ ██▒ ▀█▒▓█ ▀
▒██▒ ▄██▒██ ▀█▄ ░ ▓██▄ ▒███ ▒██▒▓██ ▓██░▒██ ▀█▄ ▒██░▄▄▄░▒███
▒██░█▀ ░██▄▄▄▄██ ▒ ██▒▒▓█ ▄ ░██░▒██ ▒██ ░██▄▄▄▄██ ░▓█ ██▓▒▓█ ▄
░▓█ ▀█▓ ▓█ ▓██▒▒██████▒▒░▒████▒ ░██░▒██▒ ░██▒ ▓█ ▓██▒░▒▓███▀▒░▒████▒
░▒▓███▀▒ ▒▒ ▓▒█░▒ ▒▓▒ ▒ ░░░ ▒░ ░ ░▓ ░ ▒░ ░ ░ ▒▒ ▓▒█░ ░▒ ▒ ░░ ▒░ ░
▒░▒ ░ ▒ ▒▒ ░░ ░▒ ░ ░ ░ ░ ░ ▒ ░░ ░ ░ ▒ ▒▒ ░ ░ ░ ░ ░ ░
░ ░ ░ ▒ ░ ░ ░ ░ ▒ ░░ ░ ░ ▒ ░ ░ ░ ░
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
```
[![Build Status](https://travis-ci.org/goneio/base-image.svg?branch=master)](https://travis-ci.org/goneio/base-image)
Docker PHP Base kit based on lessons learned from phusion/baseimage using runit to allow for multiple processes, featuring multiple versions of PHP and NodeJS.
{{TABLE}}

View file

@ -1,5 +1,5 @@
{
"name": "gone/base-image-doc-gen",
"name": "gone/docker-tag-tracker",
"type": "project",
"authors": [
{
@ -8,8 +8,9 @@
}
],
"require": {
"php": ">=7.1",
"guzzlehttp/guzzle": "^6.3",
"kint-php/kint": "^3.2",
"adambrett/shell-wrapper": "dev-master",
"react/child-process": "^0.6.1"
"maddhatter/markdown-table": "^1.0"
}
}

618
doc/composer.lock generated
View file

@ -4,76 +4,47 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "aa3efcb8e88c94b3a7b0d7729e3d9f96",
"content-hash": "b0463ce318fdaa2eacfe1103fb8beb76",
"packages": [
{
"name": "adambrett/shell-wrapper",
"version": "dev-master",
"name": "guzzlehttp/guzzle",
"version": "6.3.3",
"source": {
"type": "git",
"url": "https://github.com/adambrett/php-shell-wrapper.git",
"reference": "0ca9c254a547313d4990d11d8aca8da3fb647e6e"
"url": "https://github.com/guzzle/guzzle.git",
"reference": "407b0cb880ace85c9b63c5f9551db498cb2d50ba"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/adambrett/php-shell-wrapper/zipball/0ca9c254a547313d4990d11d8aca8da3fb647e6e",
"reference": "0ca9c254a547313d4990d11d8aca8da3fb647e6e",
"shasum": ""
},
"require-dev": {
"covex-nn/phpcb": "*@dev",
"fzaninotto/faker": "*@dev",
"mockery/mockery": "*@dev",
"pdepend/pdepend": "*@dev",
"phploc/phploc": "*@dev",
"phpmd/phpmd": "*@dev",
"phpunit/phpunit": "*@dev",
"sebastian/phpcpd": "*@dev",
"squizlabs/php_codesniffer": "*@dev"
},
"type": "library",
"autoload": {
"psr-4": {
"AdamBrett\\ShellWrapper\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BDS-3-Clause"
],
"authors": [
{
"name": "Adam Brett",
"email": "adam@adambrett.co.uk"
}
],
"description": "An object oriented wrapper for shell commands",
"time": "2017-02-16T16:57:56+00:00"
},
{
"name": "evenement/evenement",
"version": "v3.0.1",
"source": {
"type": "git",
"url": "https://github.com/igorw/evenement.git",
"reference": "531bfb9d15f8aa57454f5f0285b18bec903b8fb7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/igorw/evenement/zipball/531bfb9d15f8aa57454f5f0285b18bec903b8fb7",
"reference": "531bfb9d15f8aa57454f5f0285b18bec903b8fb7",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/407b0cb880ace85c9b63c5f9551db498cb2d50ba",
"reference": "407b0cb880ace85c9b63c5f9551db498cb2d50ba",
"shasum": ""
},
"require": {
"php": ">=7.0"
"guzzlehttp/promises": "^1.0",
"guzzlehttp/psr7": "^1.4",
"php": ">=5.5"
},
"require-dev": {
"phpunit/phpunit": "^6.0"
"ext-curl": "*",
"phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.4 || ^7.0",
"psr/log": "^1.0"
},
"suggest": {
"psr/log": "Required for using the Log middleware"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "6.3-dev"
}
},
"autoload": {
"psr-0": {
"Evenement": "src"
"files": [
"src/functions_include.php"
],
"psr-4": {
"GuzzleHttp\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
@ -82,16 +53,189 @@
],
"authors": [
{
"name": "Igor Wiedler",
"email": "igor@wiedler.ch"
"name": "Michael Dowling",
"email": "mtdowling@gmail.com",
"homepage": "https://github.com/mtdowling"
}
],
"description": "Événement is a very simple event dispatching library for PHP",
"description": "Guzzle is a PHP HTTP client library",
"homepage": "http://guzzlephp.org/",
"keywords": [
"event-dispatcher",
"event-emitter"
"client",
"curl",
"framework",
"http",
"http client",
"rest",
"web service"
],
"time": "2017-07-23T21:35:13+00:00"
"time": "2018-04-22T15:46:56+00:00"
},
{
"name": "guzzlehttp/promises",
"version": "v1.3.1",
"source": {
"type": "git",
"url": "https://github.com/guzzle/promises.git",
"reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/promises/zipball/a59da6cf61d80060647ff4d3eb2c03a2bc694646",
"reference": "a59da6cf61d80060647ff4d3eb2c03a2bc694646",
"shasum": ""
},
"require": {
"php": ">=5.5.0"
},
"require-dev": {
"phpunit/phpunit": "^4.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.4-dev"
}
},
"autoload": {
"psr-4": {
"GuzzleHttp\\Promise\\": "src/"
},
"files": [
"src/functions_include.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Michael Dowling",
"email": "mtdowling@gmail.com",
"homepage": "https://github.com/mtdowling"
}
],
"description": "Guzzle promises library",
"keywords": [
"promise"
],
"time": "2016-12-20T10:07:11+00:00"
},
{
"name": "guzzlehttp/psr7",
"version": "1.6.1",
"source": {
"type": "git",
"url": "https://github.com/guzzle/psr7.git",
"reference": "239400de7a173fe9901b9ac7c06497751f00727a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/239400de7a173fe9901b9ac7c06497751f00727a",
"reference": "239400de7a173fe9901b9ac7c06497751f00727a",
"shasum": ""
},
"require": {
"php": ">=5.4.0",
"psr/http-message": "~1.0",
"ralouphie/getallheaders": "^2.0.5 || ^3.0.0"
},
"provide": {
"psr/http-message-implementation": "1.0"
},
"require-dev": {
"ext-zlib": "*",
"phpunit/phpunit": "~4.8.36 || ^5.7.27 || ^6.5.8"
},
"suggest": {
"zendframework/zend-httphandlerrunner": "Emit PSR-7 responses"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.6-dev"
}
},
"autoload": {
"psr-4": {
"GuzzleHttp\\Psr7\\": "src/"
},
"files": [
"src/functions_include.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Michael Dowling",
"email": "mtdowling@gmail.com",
"homepage": "https://github.com/mtdowling"
},
{
"name": "Tobias Schultze",
"homepage": "https://github.com/Tobion"
}
],
"description": "PSR-7 message implementation that also provides common utility methods",
"keywords": [
"http",
"message",
"psr-7",
"request",
"response",
"stream",
"uri",
"url"
],
"time": "2019-07-01T23:21:34+00:00"
},
{
"name": "illuminate/contracts",
"version": "v5.8.32",
"source": {
"type": "git",
"url": "https://github.com/illuminate/contracts.git",
"reference": "00fc6afee788fa07c311b0650ad276585f8aef96"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/illuminate/contracts/zipball/00fc6afee788fa07c311b0650ad276585f8aef96",
"reference": "00fc6afee788fa07c311b0650ad276585f8aef96",
"shasum": ""
},
"require": {
"php": "^7.1.3",
"psr/container": "^1.0",
"psr/simple-cache": "^1.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "5.8-dev"
}
},
"autoload": {
"psr-4": {
"Illuminate\\Contracts\\": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Taylor Otwell",
"email": "taylor@laravel.com"
}
],
"description": "The Illuminate Contracts package.",
"homepage": "https://laravel.com",
"time": "2019-07-30T13:57:21+00:00"
},
{
"name": "kint-php/kint",
@ -164,145 +308,355 @@
"time": "2019-05-03T16:49:16+00:00"
},
{
"name": "react/child-process",
"version": "v0.6.1",
"name": "maddhatter/markdown-table",
"version": "1.0.0",
"source": {
"type": "git",
"url": "https://github.com/reactphp/child-process.git",
"reference": "6895afa583d51dc10a4b9e93cd3bce17b3b77ac3"
"url": "https://github.com/maddhatter/markdown-table.git",
"reference": "146dc419a073990b0adde6f22d79ff13ebf21bfc"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/reactphp/child-process/zipball/6895afa583d51dc10a4b9e93cd3bce17b3b77ac3",
"reference": "6895afa583d51dc10a4b9e93cd3bce17b3b77ac3",
"url": "https://api.github.com/repos/maddhatter/markdown-table/zipball/146dc419a073990b0adde6f22d79ff13ebf21bfc",
"reference": "146dc419a073990b0adde6f22d79ff13ebf21bfc",
"shasum": ""
},
"require": {
"evenement/evenement": "^3.0 || ^2.0 || ^1.0",
"php": ">=5.3.0",
"react/event-loop": "^1.0 || ^0.5 || ^0.4 || ^0.3.5",
"react/stream": "^1.0 || ^0.7.6"
},
"require-dev": {
"phpunit/phpunit": "^7.0 || ^6.4 || ^5.7 || ^4.8.35",
"react/socket": "^1.0",
"sebastian/environment": "^3.0 || ^2.0 || ^1.0"
"illuminate/contracts": "^5.0",
"php": ">=5.4.0"
},
"type": "library",
"autoload": {
"psr-4": {
"React\\ChildProcess\\": "src"
"MaddHatter\\MarkdownTable\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "Event-driven library for executing child processes with ReactPHP.",
"keywords": [
"event-driven",
"process",
"reactphp"
"authors": [
{
"name": "Shawn Tunney",
"email": "shawn.tunney@gmail.com"
}
],
"time": "2019-02-15T13:48:16+00:00"
"description": "Dynamically generate markdown tables",
"time": "2017-06-02T13:16:54+00:00"
},
{
"name": "react/event-loop",
"version": "v1.1.0",
"name": "psr/container",
"version": "1.0.0",
"source": {
"type": "git",
"url": "https://github.com/reactphp/event-loop.git",
"reference": "a0ecac955c67b57c40fe4a1b88a7cca1b58c982d"
"url": "https://github.com/php-fig/container.git",
"reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/reactphp/event-loop/zipball/a0ecac955c67b57c40fe4a1b88a7cca1b58c982d",
"reference": "a0ecac955c67b57c40fe4a1b88a7cca1b58c982d",
"url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
"reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
"shasum": ""
},
"require": {
"php": ">=5.3.0"
},
"require-dev": {
"phpunit/phpunit": "^7.0 || ^6.4 || ^5.7 || ^4.8.35"
},
"suggest": {
"ext-event": "~1.0 for ExtEventLoop",
"ext-pcntl": "For signal handling support when using the StreamSelectLoop",
"ext-uv": "* for ExtUvLoop"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
}
},
"autoload": {
"psr-4": {
"React\\EventLoop\\": "src"
"Psr\\Container\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "ReactPHP's core reactor event loop that libraries can use for evented I/O.",
"keywords": [
"asynchronous",
"event-loop"
"authors": [
{
"name": "PHP-FIG",
"homepage": "http://www.php-fig.org/"
}
],
"time": "2019-02-07T16:19:49+00:00"
"description": "Common Container Interface (PHP FIG PSR-11)",
"homepage": "https://github.com/php-fig/container",
"keywords": [
"PSR-11",
"container",
"container-interface",
"container-interop",
"psr"
],
"time": "2017-02-14T16:28:37+00:00"
},
{
"name": "react/stream",
"version": "v1.1.0",
"name": "psr/http-message",
"version": "1.0.1",
"source": {
"type": "git",
"url": "https://github.com/reactphp/stream.git",
"reference": "50426855f7a77ddf43b9266c22320df5bf6c6ce6"
"url": "https://github.com/php-fig/http-message.git",
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/reactphp/stream/zipball/50426855f7a77ddf43b9266c22320df5bf6c6ce6",
"reference": "50426855f7a77ddf43b9266c22320df5bf6c6ce6",
"url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363",
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363",
"shasum": ""
},
"require": {
"evenement/evenement": "^3.0 || ^2.0 || ^1.0",
"php": ">=5.3.8",
"react/event-loop": "^1.0 || ^0.5 || ^0.4 || ^0.3.5"
},
"require-dev": {
"clue/stream-filter": "~1.2",
"phpunit/phpunit": "^6.4 || ^5.7 || ^4.8.35"
"php": ">=5.3.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
}
},
"autoload": {
"psr-4": {
"React\\Stream\\": "src"
"Psr\\Http\\Message\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "Event-driven readable and writable streams for non-blocking I/O in ReactPHP",
"keywords": [
"event-driven",
"io",
"non-blocking",
"pipe",
"reactphp",
"readable",
"stream",
"writable"
"authors": [
{
"name": "PHP-FIG",
"homepage": "http://www.php-fig.org/"
}
],
"time": "2019-01-01T16:15:09+00:00"
"description": "Common interface for HTTP messages",
"homepage": "https://github.com/php-fig/http-message",
"keywords": [
"http",
"http-message",
"psr",
"psr-7",
"request",
"response"
],
"time": "2016-08-06T14:39:51+00:00"
},
{
"name": "psr/simple-cache",
"version": "1.0.1",
"source": {
"type": "git",
"url": "https://github.com/php-fig/simple-cache.git",
"reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/simple-cache/zipball/408d5eafb83c57f6365a3ca330ff23aa4a5fa39b",
"reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b",
"shasum": ""
},
"require": {
"php": ">=5.3.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
}
},
"autoload": {
"psr-4": {
"Psr\\SimpleCache\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "PHP-FIG",
"homepage": "http://www.php-fig.org/"
}
],
"description": "Common interfaces for simple caching",
"keywords": [
"cache",
"caching",
"psr",
"psr-16",
"simple-cache"
],
"time": "2017-10-23T01:57:42+00:00"
},
{
"name": "ralouphie/getallheaders",
"version": "3.0.3",
"source": {
"type": "git",
"url": "https://github.com/ralouphie/getallheaders.git",
"reference": "120b605dfeb996808c31b6477290a714d356e822"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822",
"reference": "120b605dfeb996808c31b6477290a714d356e822",
"shasum": ""
},
"require": {
"php": ">=5.6"
},
"require-dev": {
"php-coveralls/php-coveralls": "^2.1",
"phpunit/phpunit": "^5 || ^6.5"
},
"type": "library",
"autoload": {
"files": [
"src/getallheaders.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Ralph Khattar",
"email": "ralph.khattar@gmail.com"
}
],
"description": "A polyfill for getallheaders.",
"time": "2019-03-08T08:55:37+00:00"
},
{
"name": "symfony/polyfill-ctype",
"version": "v1.12.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-ctype.git",
"reference": "550ebaac289296ce228a706d0867afc34687e3f4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/550ebaac289296ce228a706d0867afc34687e3f4",
"reference": "550ebaac289296ce228a706d0867afc34687e3f4",
"shasum": ""
},
"require": {
"php": ">=5.3.3"
},
"suggest": {
"ext-ctype": "For best performance"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.12-dev"
}
},
"autoload": {
"psr-4": {
"Symfony\\Polyfill\\Ctype\\": ""
},
"files": [
"bootstrap.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Gert de Pagter",
"email": "BackEndTea@gmail.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony polyfill for ctype functions",
"homepage": "https://symfony.com",
"keywords": [
"compatibility",
"ctype",
"polyfill",
"portable"
],
"time": "2019-08-06T08:03:45+00:00"
},
{
"name": "symfony/yaml",
"version": "v4.3.3",
"source": {
"type": "git",
"url": "https://github.com/symfony/yaml.git",
"reference": "34d29c2acd1ad65688f58452fd48a46bd996d5a6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/yaml/zipball/34d29c2acd1ad65688f58452fd48a46bd996d5a6",
"reference": "34d29c2acd1ad65688f58452fd48a46bd996d5a6",
"shasum": ""
},
"require": {
"php": "^7.1.3",
"symfony/polyfill-ctype": "~1.8"
},
"conflict": {
"symfony/console": "<3.4"
},
"require-dev": {
"symfony/console": "~3.4|~4.0"
},
"suggest": {
"symfony/console": "For validating YAML files using the lint command"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "4.3-dev"
}
},
"autoload": {
"psr-4": {
"Symfony\\Component\\Yaml\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Fabien Potencier",
"email": "fabien@symfony.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony Yaml Component",
"homepage": "https://symfony.com",
"time": "2019-07-24T14:47:54+00:00"
}
],
"packages-dev": [],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": {
"adambrett/shell-wrapper": 20
},
"stability-flags": [],
"prefer-stable": false,
"prefer-lowest": false,
"platform": [],
"platform": {
"php": ">=7.1"
},
"platform-dev": []
}

162
doc/gen
View file

@ -1,131 +1,57 @@
#!/usr/bin/php
<?php
require_once(__DIR__ . "/vendor/autoload.php");
chdir(__DIR__);
require_once __DIR__ . "/vendor/autoload.php";
$versionedPhpImages = [
'gone/php:cli-php%php_version%',
'gone/php:apache-php%php_version%',
'gone/php:nginx-php%php_version%',
];
use \GuzzleHttp\Client as Guzzle;
use \MaddHatter\MarkdownTable\Builder as TableBuilder;
$phpVersions = ['5.6', '7.0', '7.1', '7.2', '7.3', ];
$nodeVariants = ['', '-gcc', '-onbuild', '-onbuild-gcc'];
$nodeVersionsMajor = ['8', '10', '11', '12'];
$client = new Guzzle();
$images = ['gone/php', 'gone/node', 'gone/marshall', ];
$results = [];
foreach($images as $image) {
$results[$image] = [];
$url = "https://hub.docker.com/v2/repositories/{$image}/tags/";
$allLoaded = false;
while ($allLoaded == false) {
$data = $client->get($url)->getBody()->getContents();
$json = json_decode($data, true);
$images = [
'gone/marshall:latest',
'gone/php:cli',
'gone/php:apache',
'gone/php:nginx',
];
foreach($nodeVersionsMajor as $majorVersion){
foreach($nodeVariants as $variant){
$nodeVersions[] = $majorVersion . $variant;
$results[$image] = array_merge($results[$image], $json['results']);
if ($json['next']) {
$url = $json['next'];
} else {
$allLoaded = true;
}
}
}
foreach($versionedPhpImages as $versionedImage){
foreach($phpVersions as $phpVersion){
$images[] = str_replace("%php_version%", $phpVersion, $versionedImage);
$tableBuilder = new TableBuilder();
$tableBuilder->headers(['Name', 'Architecture', 'Size', 'Last Updated', 'Microbadger']);
$tableBuilder->align(['L','L', 'R','R','C']);
foreach($results as $image => $variants){
foreach($variants as $variant) {
$megabytes = number_format($variant['full_size'] / 1024 / 1024, 2);
//[![Layers](https://img.shields.io/badge/Layers-13-green.svg)](https://hub.docker.com/r/gone/marshall)
$sizeColour = 'green';
$arches = [];
foreach($variant['images'] as $archSpecificImage){
$arches[] = $variant['architecture'];
}
$tableBuilder->row([
$image . ":" . $variant['name'],
strtoupper(implode(", ", $arches)),
"[![Layers](https://img.shields.io/badge/{$megabytes}MB-{$sizeColour}.svg)](https://hub.docker.com/r/{$image})",
date("Y-m-d H:i:s", strtotime($variant['last_updated'])),
"[![](https://images.microbadger.com/badges/image/gone/marshall:latest.svg)](https://microbadger.com/images/gone/marshall:latest \"Get your own image badge on microbadger.com\")",
]);
}
}
foreach($nodeVersions as $nodeVersion){
$images[] = "gone/node:{$nodeVersion}";
}
$readme = file_get_contents(__DIR__ ."/../README.template");
sort($images);
$readme = str_replace("{{TABLE}}", $tableBuilder->render(), $readme);
use AdamBrett\ShellWrapper\Runners;
use AdamBrett\ShellWrapper\Command;
use React\EventLoop\Factory as LoopFactory;
use React\ChildProcess\Process;
shuffle($images);
$images = array_slice($images, 0,2);
\Kint::dump($images);
$loop = LoopFactory::create();
// Iterate and pull images
foreach($images as $image) {
$shell = new Runners\ShellExec();
$command = new Command("docker");
$command->addSubCommand(new Command\SubCommand("pull"));
$command->addParam(new Command\Param($image));
echo sprintf(
'Running: "%s"' . PHP_EOL,
(string) $command
);
$process = new Process((string) $command);
$process->start($loop);
$process->stdout->on('data', function($chunk){
#echo $chunk;
});
$process->stderr->on('data', function($chunk){
echo $chunk;
});
$process->on('exit', function($exitCode, $termSignal) use ($command) {
if($exitCode == 0){
echo sprintf(
'Process "%s", succeeded!' . PHP_EOL,
(string) $command
);
}else{
echo sprintf(
'Process "%s", exited with code %d' . PHP_EOL,
(string) $command,
$exitCode
);
echo "\n\n";
exit(255);
}
});
}
$loop->run();
// Iterate and weigh images.
$weights = [];
foreach($images as $image) {
$shell = new Runners\ShellExec();
$command = new Command("docker");
$command->addSubCommand(new Command\SubCommand("images"));
$command->addParam(new Command\Param($image));
$command->addFlag(new Command\Flag("format", "{{json .}}"));
echo sprintf(
'Running: "%s"' . PHP_EOL,
(string) $command
);
$process = new Process((string) $command);
$process->start($loop);
$process->stdout->on('data', function($chunk) use ($weights){
\Kint::dump(
json_decode($chunk)
);
});
$process->stderr->on('data', function($chunk){
echo $chunk;
});
$process->on('exit', function($exitCode, $termSignal) use ($command) {
if($exitCode == 0){
echo sprintf(
'Process "%s", succeeded!' . PHP_EOL,
(string) $command
);
}else{
echo sprintf(
'Process "%s", exited with code %d' . PHP_EOL,
(string) $command,
$exitCode
);
echo "\n\n";
exit(255);
}
});
}
$loop->run();
file_put_contents(__DIR__ . "/../README.md", $readme);