Yaml based way to build Docker images.
Project description
Boatswain
Boatswain is a simple build system for docker images.
It is especially usefull when you have multiple docker images that depend on each other.
Installation
Boatswain is a simple python script you can install with pip
$ pip install boatswain
Usage
Create a file called boatswain.yml for your project with the following syntax, which is heavily based on docker-compose.
version: 1.0 # The version of the boatswain yaml
organisation: boatswain # Your dockerhub organisation
images:
image1:pytest: # the key will be used to tag the image
context: docker/image1 # The path of the dockerfile
image2:pytest:
context: docker/image2
from: image1:pytest # This image depends on the other image
image3:pytest:
context: docker/image3
from: image2:pytest
image4:pytest:
context: docker/image4
tag: image12:pytest # This image will be tagged with this
- 2017-02-09:
Progress timer now increases every second Improved error reporting (No longer uses an exception)
- 2017-02-08:
Added a whole bunch of tests Added the clean command Changed file layout from recursive to using from
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
boatswain-0.4.0.tar.gz
(8.9 kB
view hashes)
Built Distribution
Close
Hashes for boatswain-0.4.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3504f208cfb347a88341f2f18b8ba92b4c9d37630169e140d7fd5882f36fead9 |
|
MD5 | 4a8c8b4c61833aa9caa09449e1270be9 |
|
BLAKE2b-256 | 5c5d6cb6a80f82a84a07587e0516fcab54ac8aa76d3431dd2c1aabde2123ab3e |