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

ProjectDirectoryImageBuildInputs are missing from #241

@tnozicka

Description

@tnozicka

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions