Skip to content

Commit

Permalink
debug: replace go run with go build/install
Browse files Browse the repository at this point in the history
  • Loading branch information
0xawaz committed Nov 11, 2024
1 parent 8105bb5 commit 5aed35f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ WORKDIR /go-ethereum

# Copy codebase and build Geth
COPY . .
RUN go run -buildvcs=false build/ci.go install -static ./cmd/geth
# RUN go run build/ci.go install -static ./cmd/geth
RUN go build -buildvcs=false -o geth-coprocessor build/ci.go &&\
./geth-coprocessor install -static ./cmd/geth


# Final Stage
FROM alpine:3.20.3
Expand Down

0 comments on commit 5aed35f

Please sign in to comment.