Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Commit

Permalink
Use buildflag to workaround gcp behavior. (#414)
Browse files Browse the repository at this point in the history
  • Loading branch information
markusthoemmes authored Mar 11, 2020
1 parent a6e4b7f commit c65c81e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ TEST_IMAGES=$(shell find ./test/test_images -mindepth 1 -maxdepth 1 -type d)

install:
for img in $(CORE_IMAGES); do \
go install $$img ; \
go install -tags="disable_gcp" $$img ; \
done
.PHONY: install

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM rhel8/go-toolset:1.13.4 AS builder
WORKDIR /opt/app-root/src/go/src/knative.dev/$COMPONENT
COPY . .
ENV GOFLAGS="-mod=vendor"
ENV GOFLAGS="-mod=vendor -tags=disable_gcp"
RUN go build -o /tmp/$SUBCOMPONENT ./cmd/$GO_PACKAGE

FROM ubi8-minimal:8-released
Expand Down

0 comments on commit c65c81e

Please sign in to comment.