Skip to content
This repository has been archived by the owner on Jun 14, 2019. It is now read-only.

ProjectDirectoryImageBuildInputs are missing from #241

Open
tnozicka opened this issue Jan 20, 2019 · 1 comment
Open

ProjectDirectoryImageBuildInputs are missing from #241

tnozicka opened this issue Jan 20, 2019 · 1 comment

Comments

@tnozicka
Copy link

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"`
}

@droslean
Copy link
Member

it seems that you need this, but we haven't implement this yet.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants