Skip to content

Commit

Permalink
Fix Dockerfile (#4083)
Browse files Browse the repository at this point in the history
  • Loading branch information
yycptt committed Mar 30, 2021
1 parent 03cdc86 commit 472f757
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ COPY go.* ./
RUN go mod download

COPY . .
RUN rm -fr .bin .build

# bypass codegen, use committed files. must be run separately, before building things.
RUN make .faux-codegen
RUN make .fake-codegen
RUN CGO_ENABLED=0 make copyright cadence-cassandra-tool cadence-sql-tool cadence cadence-server


Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ lint: ## (re)run the linter
fmt: $(BUILD)/fmt ## run goimports

# not identical to the intermediate target, but does provide the same codegen (or more).
copyright: ## update copyright headers
copyright: $(BIN)/copyright ## update copyright headers
$(BIN)/copyright
@touch $(BUILD)/copyright

Expand Down

0 comments on commit 472f757

Please sign in to comment.