Skip to content

Commit

Permalink
Merge branch 'fix-coordinator-image-build' of github.com:scroll-tech/…
Browse files Browse the repository at this point in the history
…scroll into fix-coordinator-image-build
  • Loading branch information
georgehao committed Jul 9, 2024
2 parents 9d73e9c + 4a4c51f commit 102fa0e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build/dockerfiles/coordinator-api.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ RUN cp -r ./common/libzkp/interface ./coordinator/internal/logic/verifier/lib
COPY --from=zkp-builder /app/target/release/libzkp.so ./coordinator/internal/logic/verifier/lib/
RUN cd ./coordinator && make coordinator_api_skip_libzkp && mv ./build/bin/coordinator_api /bin/coordinator_api && mv internal/logic/verifier/lib /bin/

# Pull coordinator into a second stage deploy alpine container
# Pull coordinator into a second stage deploy ubuntu container
FROM ubuntu:20.04
ENV CGO_ENABLED=1
ENV CGO_LDFLAGS="-ldl"
Expand Down
4 changes: 1 addition & 3 deletions build/dockerfiles/coordinator-cron.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ RUN --mount=target=. \
--mount=type=cache,target=/root/.cache/go-build \
cd /src/coordinator/cmd/cron/ && CGO_LDFLAGS="-ldl" go build -v -p 4 -o /bin/coordinator_cron



# Pull coordinator into a second stage deploy alpine container
# Pull coordinator into a second stage deploy ubuntu container
FROM ubuntu:20.04

ENV CGO_LDFLAGS="-ldl"
Expand Down
2 changes: 1 addition & 1 deletion build/dockerfiles/gas_oracle.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN --mount=target=. \
--mount=type=cache,target=/root/.cache/go-build \
cd /src/rollup/cmd/gas_oracle/ && CGO_LDFLAGS="-ldl" go build -v -p 4 -o /bin/gas_oracle

# Pull gas_oracle into a second stage deploy alpine container
# Pull gas_oracle into a second stage deploy ubuntu container
FROM ubuntu:20.04

ENV CGO_LDFLAGS="-ldl"
Expand Down
2 changes: 1 addition & 1 deletion build/dockerfiles/rollup_relayer.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN --mount=target=. \
--mount=type=cache,target=/root/.cache/go-build \
cd /src/rollup/cmd/rollup_relayer/ && CGO_LDFLAGS="-ldl" go build -v -p 4 -o /bin/rollup_relayer

# Pull rollup_relayer into a second stage deploy alpine container
# Pull rollup_relayer into a second stage deploy ubuntu container
FROM ubuntu:20.04

ENV CGO_LDFLAGS="-ldl"
Expand Down

0 comments on commit 102fa0e

Please sign in to comment.