No description
Find a file
2019-07-05 16:31:58 +02:00
eater/flavors eater/flavors: add image to build flavors in with img 2019-07-05 16:20:52 +02:00
grumble grumble: switch to glibc 2019-07-04 16:33:40 +02:00
img img: add img image 2019-07-05 16:20:29 +02:00
jre Add jre container 2018-12-20 23:03:41 +01:00
logs Ignore logs 2019-07-04 16:32:47 +02:00
nginx Fix php-fpm container, and add logging to php-fpm 2019-02-21 15:35:55 +01:00
php Initial commit 2018-11-11 23:16:59 +01:00
php-fpm Fix php-fpm container, and add logging to php-fpm 2019-02-21 15:35:55 +01:00
pleroma pleroma: update to v1.0.0 2019-07-04 16:33:08 +02:00
reg reg: switch to glibc 2019-07-04 16:33:31 +02:00
umurmur fix reference to d.xr.to, and add jre and umurmur container to list 2019-02-21 13:30:36 +01:00
xbps-builder xbps-builder: Add xbps-build and fetch default last changes 2019-07-05 16:20:10 +02:00
.drone.yml Add .drone.yml pipeline 2019-07-05 16:31:58 +02:00
.gitignore Ignore logs 2019-07-04 16:32:47 +02:00
flavor Allow second level Dockerfiles, and improve parallel building 2019-07-05 16:19:36 +02:00
README.md fix krageon 2019-02-21 13:37:01 +01:00

Flavors

A repository of different types of containers based on d.xr.to/base, A list can be found under 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

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 A simple pre-configured nginx with safe defaults
umurmur docker pull d.xr.to/umurmur Simple umurmur container krageon
jre docker pull d.xr.to/jre Container with latest JRE (based on glibc)

Todo

  • Support img in flavor
  • Add more containers (duh.)
  • Implement -p in flavor
  • Add CI to auto-publish images
  • Add -c flag to rebuild children of given images