Skip to content

Commit

Permalink
Build hyperrpc
Browse files Browse the repository at this point in the history
  • Loading branch information
fewensa authored May 14, 2024
1 parent 4b715f2 commit b625651
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
strategy:
matrix:
package:
- hyperrpc
#- srtool
#- safe-transaction-service
#- optimism
Expand Down
11 changes: 11 additions & 0 deletions docker-image/hyperrpc/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM rust:1.78-alpine as builder

RUN apk update musl-dev git capnproto-dev \
&& git clone https://github.com/enviodev/local-hyperrpc \
&& cd local-hyperrpc \
&& cargo build --release

FROM alpine:3.18

COPY --from=builder /local-hyperrpc/target/release/local-hyperrpc /usr/local/bin/

0 comments on commit b625651

Please sign in to comment.