-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
triage/unresolvedIndicates an issue that can not or will not be resolved.Indicates an issue that can not or will not be resolved.
Description
Feature Request
Currently, operator-sdk build {image information} does two things. First go build then docker build. The problem is that I need to have to build the executable inside a dockerized container for the limitation of CI/CD infrastructure in my company.
For that reason, it would be very useful to provide an option to choose only go build, not docker build using some flag or simply operator-sdk build.
I currently have a workaround to build my project in the dockerized container. But I'm not sure this approach would be safe for the future change of operator-sdk build command.
RUN env GOOS=linux CGO_ENABLED=0 \
go build -o ./build/_output/bin/service-deployment-operator \
-gcflags="all=-trimpath=$(dirname $PWD)" \
-asmflags="all=-trimpath=$(dirname $PWD)" \
./cmd/manager
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
triage/unresolvedIndicates an issue that can not or will not be resolved.Indicates an issue that can not or will not be resolved.