Skip to content

Commit

Permalink
update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsmkl committed Jan 3, 2023
1 parent 77948ff commit 0dcf8d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
17 changes: 2 additions & 15 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,7 @@
FROM node:14-alpine
FROM node:16
LABEL maintainer="Nevermined <root@nevermined.io>"

RUN apk add --no-cache --update\
bash\
g++\
gcc\
git\
krb5-dev\
krb5-libs\
krb5\
make\
python3\
curl

RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}"
RUN apt-get update -y && apt-get install -y musl psmisc

COPY . /nevermined-contracts
WORKDIR /nevermined-contracts
Expand Down
3 changes: 3 additions & 0 deletions scripts/build-circuit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ wget https://hermez.s3-eu-west-1.amazonaws.com/powersOfTau28_hez_final_14.ptau
wget https://github.com/iden3/circom/releases/download/v2.0.6/circom-linux-amd64

chmod 755 circom-linux-amd64
pwd
ls
ls -l ./circom-linux-amd64
./circom-linux-amd64 circuits/keytransfer.circom --r1cs --wasm --sym

mv keytransfer.r1cs circuits
Expand Down

0 comments on commit 0dcf8d5

Please sign in to comment.