Skip to content

Commit

Permalink
update docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
Gianmarco Fraccaroli authored and Gianmarco Fraccaroli committed Apr 15, 2024
1 parent f82bcde commit 9d4e17b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# use the default dart image as the build image
FROM rust:1.76 AS builder
FROM rust:stable AS builder

# copy the current folder into the build folder
COPY . /app
Expand Down Expand Up @@ -31,12 +31,11 @@ WORKDIR /app
# copy the runtime files
COPY scenarios /app
COPY --from=builder /app/target/release/scenario-tester /app/scenario-tester
COPY --from=builder /app/target/release/scenario-generator /app/scenario-generator

# download masp parameters
RUN curl -o /app/masp-spend.params -L https://github.com/anoma/masp-mpc/releases/download/namada-trusted-setup/masp-spend.params\?raw\=true
RUN curl -o /app/masp-output.params -L https://github.com/anoma/masp-mpc/releases/download/namada-trusted-setup/masp-output.params?raw=true
RUN curl -o /app/masp-convert.params -L https://github.com/anoma/masp-mpc/releases/download/namada-trusted-setup/masp-convert.params?raw=true

ENV NAMADA_MASP_PARAMS_DIR /app

ENTRYPOINT ["./scenario-tester"]
ENV NAMADA_MASP_PARAMS_DIR /app

0 comments on commit 9d4e17b

Please sign in to comment.