DockerBuild.Config (DockerBuild v0.11.0) View Source

Stores config for builder and plugins

Link to this section Summary

Functions

Name of the app

If to build the image

Get the main config for a given key

Get the main config for a given key - raise if it is nil

Gets the docker image

Project elixir version

Load the config from the mix project

Selected MIX_ENV

Get the config for a given plugin and key

Get a list of plugins

Gets a list of plugins with the given dep

Manager to use to create the release. Defaults to :elixir, but can be set to :distillery

The image to base the release stage on - could be made configurable

Gets the build target

Returns true if the project is an umbrella app

List of umbrella apps in project

Link to this section Functions

Name of the app

If to build the image

Link to this function

build_stage_base_image(context)

View Source

Get the main config for a given key

Get the main config for a given key - raise if it is nil

Gets the docker image

Project elixir version

Load the config from the mix project

Options

  • env - environment to be used. Defaults to prod

Selected MIX_ENV

Link to this function

plugin_config(context, plugin, key)

View Source

Get the config for a given plugin and key

Get a list of plugins

Link to this function

plugins_with_dep(context, dep)

View Source

Gets a list of plugins with the given dep

Link to this function

release_manager(context)

View Source

Manager to use to create the release. Defaults to :elixir, but can be set to :distillery

Link to this function

release_stage_base_image(context)

View Source

The image to base the release stage on - could be made configurable

Link to this function

set_release_stage_base_image(config, base_image)

View Source

Gets the build target

Returns true if the project is an umbrella app

List of umbrella apps in project