Skip to content

Makefile bundle-build incorrect path to bundle.Dockerfile #1879

Open
@itroyano

Description

@itroyano

Bug Report

What did you do?

Run make bundle-build

What did you expect to see?

A bundle image created locally.

What did you see instead? Under which circumstances?

bundle.Dockerfile was not found

Environment

N/A

Possible Solution

Point at the correct file, located under target -

docker build -t $(BUNDLE_IMG) -f target/bundle/$(PACKAGE_NAME)/bundle.Dockerfile target/bundle/$(PACKAGE_NAME)

Add the following under src/main/resources/application.properties

quarkus.container-image.name=<package name>-controller
quarkus.operator-sdk.bundle.package-name=<package name>
quarkus.operator-sdk.bundle.channels=<channels>
quarkus.container-image.registry=<registry>
quarkus.container-image.group=<group or repo name>

Additional context

Sample Makefile - https://github.com/skattoju/simple-java-operator/blob/cleanup/Makefile#L91

Metadata

Metadata

Assignees

Labels

lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions