This repository was archived by the owner on Jun 14, 2019. It is now read-only.

Description
I want to have build_root.project_image based on an imagestream in api.ci but I am not able to replace FROM in that Dockerfile. More concretely I want to extend the root image (golang-1.10) with nss_wrapper , but I am unable to specify the api.ci imagestream as an input:
|
// ProjectDirectoryImageBuildInputs holds inputs for an image build from the repo under test |
|
type ProjectDirectoryImageBuildInputs struct { |
|
// ContextDir is the directory in the project |
|
// from which this build should be run. |
|
ContextDir string `json:"context_dir"` |
|
|
|
// DockerfilePath is the path to a Dockerfile in the |
|
// project to run relative to the context_dir. |
|
DockerfilePath string `json:"dockerfile_path"` |
|
|
|
// Inputs is a map of tag reference name to image input changes |
|
// that will populate the build context for the Dockerfile or |
|
// alter the input image for a multi-stage build. |
|
Inputs map[string]ImageBuildInputs `json:"inputs"` |
|
} |
|
|