Skip to content

Commit 0a9cfe7

Browse files
authored
Fix Docker build (google#434)
This got broken when `witness` directory was added at the top level
1 parent bc038c4 commit 0a9cfe7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sumdbaudit/docker/witness/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ RUN go mod download
1616
COPY . .
1717

1818
# Build the application
19-
RUN go build ./sumdbaudit/cli/witness
19+
RUN go build -o sumdbwitness ./sumdbaudit/cli/witness
2020

2121
# Build release image
2222
FROM golang:buster
2323

24-
COPY --from=builder /build/witness /bin/witness
24+
COPY --from=builder /build/sumdbwitness /bin/witness
2525
ENTRYPOINT ["/bin/witness"]

0 commit comments

Comments
 (0)