NAME

Beam::Make::Docker::Image - A Beam::Make recipe to build/pull/update a Docker image

VERSION

version 0.003

SYNOPSIS

### Beamfile
nordaaker/convos:
    $class: Beam::Make::Docker::Image
    image: nordaaker/convos

DESCRIPTION

This Beam::Make recipe class updates a Docker image, either by building it or by checking a remote repository.

NOTE: This works for basic use-cases, but could use some improvements. Improvements should attempt to match the docker-compose file syntax when possible.

ATTRIBUTES

image

The image to build or pull. If building, will tag the resulting image. Required.

build

The path to the build context. If set, will build an image instead of pulling from a repository.

args

A mapping of build args (--build-arg <KEY>=<VALUE>).

tags

A list of additional tags for the image.

dockerfile

The name of the Dockerfile to use. If unset, Docker uses the default name: Dockerfile.

docker

The path to the Docker executable to use. Defaults to looking up docker in PATH.

SEE ALSO

Beam::Make::Docker::Container, Beam::Make, https://docker.com

AUTHOR

Doug Bell <preaction@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2020 by Doug Bell.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.