||3 years ago|
|ci||3 years ago|
|Dockerfile||3 years ago|
|LICENSE.md||3 years ago|
|NOTICE.md||3 years ago|
|README.md||3 years ago|
|build||3 years ago|
|example.yml||3 years ago|
A Concourse task to builds Docker images without pushing and without spinning
up a Docker daemon. Currently uses
for the building and saving.
This repository describes an image which should be used to run a task similar
A stretch goal of this is to support running without
privileged: true, though
it currently still requires it.
Concourse doesn't yet have easily distributable task configs (there's an open call for an RFC), so we'll just have to document what you need to set here.
The task's image should refer to
concourse/builder. You can either configure
image_resource or pull it in as part of your pipeline.
The following params are required:
$REPOSITORY: the repository to name the image, e.g.
The following are optional:
latest): the tag to apply to the image.
.): the path to the directory to build. This should refer to one of the inputs.
$CONTEXT/Dockerfile): the path to the
There are no required inputs - your task should just list each artifact it needs as an input.
Your task may configure an output called
image. The saved image tarball will
be written to
image.tar within the output. This tarball can be passed along
docker load, or uploaded to a registry using the Registry Image
Build caching can be enabled by configuring a cache named
cache on the task.
Your task should execute the
This repo contains an
example.yml, which builds the image for the builder
fly -t dev execute -c example.yml -o image=. -p docker load -i image.tar