Skip to main content

Yaml based way to build Docker images.

Project description

.. image:: https://travis-ci.org/nlesc-sherlock/boatswain.svg?branch=master
:target: https://travis-ci.org/nlesc-sherlock/boatswain


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.

:: yaml

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
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-18:
Added a whole bunch of tests
Added the clean command
Changed file layout from recursive to using from

Project details


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.3.0.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

boatswain-0.3.0-py2.py3-none-any.whl (9.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file boatswain-0.3.0.tar.gz.

File metadata

  • Download URL: boatswain-0.3.0.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for boatswain-0.3.0.tar.gz
Algorithm Hash digest
SHA256 ff70a19d0d9df1ab73b76226fae6eb082ef97c4d504e2b8a7b655080da3279f9
MD5 fbdae038b416b2a7d9003e227c082a12
BLAKE2b-256 c5f98fad3ee2525078a47afafe097d85ff1a20307096925f9cb0b24c477428ad

See more details on using hashes here.

File details

Details for the file boatswain-0.3.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for boatswain-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f6c0b8c9159430d547324d62aaab233386063daaff292c8b4d0bde6bf8fda96c
MD5 3fe91cfca041d6d499af6cce6f35478f
BLAKE2b-256 fe0456635532f6465bfb453ab9ff89e6a01e01cbb4200b91e880abbb511cb377

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page