Skip to main content

Utility to generate package files using Docker containers

Project description

Berth is a tool to help you automate the building of packages for an array of operating system and package systems, while not putting a big load on the local dependencies where you build the packages.

It does this by using a Docker container of your choice to build your project inside, and then use another container with the FPM package creator inside to package up the project.

Read more on GitHub.


1.3.5 - 2017-05-05

  • Updated to support version 1.24 of the Docker API.

  • Updated to work with new version of tenzer/fpm.

1.3.4 - 2015-10-05

  • Somehow the fix in 1.3.2 got lost, so we are adding that back in again.

1.3.3 - 2015-10-05

  • Bumped dependencies on docker-py and click. The former has a bug in < 1.3.1 where the streaming output from a container can suddenly stop while the container keeps running.

1.3.2 - 2015-05-17

  • Fixed packaging problem about missing at installation time.

1.3.1 - 2015-04-27

  • Bumped dependencies on the docker-py and click libraries.

  • Replaced dockerfiles/fpm with tenzer/fpm as the default image to use for packaging as the dockerfiles image no longer exists.

1.3.0 - 2015-03-09

  • Added --build-only and --package-only flags to tell Berth to only do one of the two steps. This can be useful when setting up a configuration for a new package together with:

  • New --keep-containers flag which makes the containers Berth create stay around after the jobs have ran. This will make you able to docker run them afterwards and inspect the files inside of them.

  • Berth now provides streaming output of the build scripts if either the verbose or debug output levels are enabled, instead of only getting the output when the container stops.

  • When builds took longer time to execute than 100 seconds, the run time of the container was outputted in scientific format, this has now been corrected so it will always be outputted as the number of seconds with 1 digit precision.

1.2.0 - 2015-02-12

  • Made the “build” part of the configuration optional so you also can use Berth to just build Python and Ruby packages directly, since FPM supports that as input.

1.1.0 - 2015-02-01

  • Enable the use of environment variables during build and packaging steps. This makes it easier to create an updated package by just increasing the version number one place.

  • When a local path specified as a source for a volume doesn’t exist, we now try to create a directory at that path and make use of that. If the directory creation fails then we complain like before.

  • Minor improvements to configuration file checks.

1.0.1 - 2015-01-29

  • Stop the package generation flow if the build script fails (exits with non-zero exit code)

  • Disable hostname verification for Docker client, since the hostname and certificate doesn’t match when using boot2docker - Fig does this as well

  • Place the build script file in the current working directory of the host system instead of letting Python decide. It is only possible to mount paths inside /Users when using boot2docker on OS X

  • Minor code changes in relation to Pylint code check

1.0.0 - 2015-01-28

  • Initial release

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

berth-1.3.5.tar.gz (7.4 kB view hashes)

Uploaded source

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