You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.8 KiB
Markdown

6 years ago
# Flavors
6 years ago
A repository of different types of containers based on `d.xr.to/base`, A list can be found under [Containers](#Containers)
# Building
Building of images is done by `flavor` a simple perl5 tool which automatically creates a dependency graph of containers and runs the builds in parallel if possible.
```
flavor [-h] [-r <repo>] [-x <images>] [-o] [-j <jobs>] [-p] [all|images...]
Build Docker images with dependency graphing
Options:
-x Comma separated list of images not to rebuild in chain
-o Only build given images, don't build parents
-r Which repo or prefix to use, default: d.xr.to
-p Push image after building
-j How many builds should run at the same time, default: 4
-h Show this help
```
## Example
```
[eater@momo flavors]$ ./flavor all
INFO: building: nginx, php-fpm, php
INFO: Starting build for nginx
INFO: Starting build for php
INFO: Finished build for php
INFO: Starting build for php-fpm
INFO: Finished build for nginx
INFO: Finished build for php-fpm
INFO: Done building!
```
# Containers
6 years ago
|name||readme|description|author|
|---|---|---|---|---|
|php|`docker pull d.xr.to/php`||PHP, with composer installed and the following extensions: bz2, curl, gettext, gmp, openssl, pdo_mysql, pdo_sqlite, zip, and phar||
|php-fpm|`docker pull d.xr.to/php-fpm`||`d.xr.to/php` with an php-fpm server running on port 9000||
|nginx|`docker pull d.xr.to/nginx`|[README](nginx/)|A simple pre-configured nginx with safe defaults||
6 years ago
|umurmur|`docker pull d.xr.to/umurmur`||Simple umurmur container|[krageon](https://github.com/krageon)|
|jre|`docker pull d.xr.to/jre`||Container with latest JRE (based on glibc)||
6 years ago
# Todo
- Support `img` in flavor
- Add more containers (duh.)
6 years ago
- Implement -p in flavor
- Add CI to auto-publish images
- Add -c flag to rebuild children of given images