Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Latest commit

 

History

History
35 lines (20 loc) · 1.5 KB

build-docker-imgs.md

File metadata and controls

35 lines (20 loc) · 1.5 KB

Building docker images

The fissile build command comes with a helpful subcommand for building docker images from a BOSH release.

The command is fissile build release-images. See the docs

How to use it?

The following are the flags that you need to provide, in order to generate assets and building the Docker image.

  • --stemcell

    You need to provide a reference to a docker image, containing the stemcell you want to use, as the underlying layer. For example:

    --stemcell=splatform/fissile-stemcell-opensuse:42.3-36.g03b4653-30.80

    Note: You docker stemcell image is required to have two specific labels. They are stemcell-flavor and stemcell-version.

  • --name

    This is the name of the BOSH release. This should be the value defined in the BOSH deployment manifest.

  • --version

    The version of the BOSH release. This should be the value defined in the BOSH deployment manifest.

  • --sha1 The sha1 of the BOSH release. This should be the value defined in the BOSH deployment manifest.

  • -url The url of the BOSH release. This should be the value defined in the BOSH deployment manifest.

Additionally you could also just generate assets, without forcing fissile to generate a new Docker image. For this, use the --no-build flag.