Skip to content

Trouble Replacing Both Images #1

@cuppett

Description

@cuppett

The container FROM substitution only works on a single (the first) FROM statement in a Containerfile.

Would be good to figure out how multiple subs can be made or support for an alternative Containerfile entirely can be added.

E.g. Many go operators using the operator-sdk have Containerfiles that look like this:

FROM quay.io/cuppett/golang:1.17 as builder
(steps to build go binary)
FROM registry.access.redhat.com/ubi8/ubi-minimal
COPY --from=builder

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions