Skip to content

Commit

Permalink
Merge commit 'd0aafd15a47d7d7d1062402e3a217a02a6891908' into vcastell…
Browse files Browse the repository at this point in the history
…m/run-erigon
  • Loading branch information
goran-ethernal committed Aug 6, 2024
2 parents b771c96 + d0aafd1 commit 4239eac
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ FROM golang:1.22.5-alpine3.20 AS build
WORKDIR $GOPATH/src/github.com/0xPolygon/cdk

RUN apk update && apk add --no-cache make build-base git

# INSTALL DEPENDENCIES
COPY go.mod go.sum /src/
RUN cd /src && go mod download
COPY go.mod go.sum ./
RUN go mod download

# BUILD BINARY
COPY . /src
RUN cd /src && make build
COPY . .
RUN make build

# BUILD RUST BIN
FROM --platform=${BUILDPLATFORM} rust:slim-bullseye AS chef
Expand Down

0 comments on commit 4239eac

Please sign in to comment.