Skip to content

Commit

Permalink
fix docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
liuzhi committed Jun 8, 2024
1 parent 7b43023 commit 74e442b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile.source
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN apt-get update && apt-get install -y \

COPY docker/rustup-init.sh /opt/rustup-init.sh

RUN /opt/rustup-init.sh -y --profile minimal
RUN chmod +x /opt/rustup-init.sh && /opt/rustup-init.sh -y --profile minimal

# Install uniffi-bindgen-go
RUN cargo install uniffi-bindgen-go --git https://github.com/NordSecurity/uniffi-bindgen-go --tag v0.2.1+v0.25.0
Expand All @@ -25,12 +25,12 @@ COPY . .

## Generate Rust bindings for VDF
WORKDIR /opt/ceremonyclient/vdf
RUN ./generate.sh
RUN chmod +x ./generate.sh && ./generate.sh

# Build and install the node
WORKDIR /opt/ceremonyclient/node

RUN ./build.sh && cp node /go/bin
RUN chmod +x ./build.sh && ./build.sh && cp node /go/bin
RUN go install github.com/fullstorydev/grpcurl/cmd/grpcurl@latest

# Build and install qclient
Expand Down

0 comments on commit 74e442b

Please sign in to comment.