Skip to content

Commit

Permalink
UPSTREAM: <carry>: Fix GCP CCM Dockerfile
Browse files Browse the repository at this point in the history
We need to compile the whole module instead of a single file to
make GCP CCM work.
  • Loading branch information
Fedosin committed Sep 21, 2021
1 parent abd67b4 commit b44f55f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openshift-hack/images/Dockerfile.openshift
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ COPY . .
RUN CGO_ENABLED=0 GOOS=${GOOS} GOPROXY=${GOPROXY} go build \
-ldflags="-w -s -X 'main.version=${VERSION}'" \
-o=gcp-cloud-controller-manager \
cmd/cloud-controller-manager/main.go
./cmd/cloud-controller-manager

FROM registry.ci.openshift.org/ocp/4.9:base

Expand Down

0 comments on commit b44f55f

Please sign in to comment.