-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b834bcc
commit 3a4af96
Showing
2 changed files
with
64 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
version: '3.5' | ||
|
||
services: | ||
zkllvm: | ||
build: | ||
context: . | ||
dockerfile_inline: | | ||
ARG user_id | ||
ARG group_id | ||
FROM ghcr.io/nilfoundation/zkllvm-template:0.0.86 | ||
RUN useradd nil -u $user_id -g $group_id | ||
args: | ||
user_id: ${user_id} | ||
group_id: ${group_id} | ||
platform: linux/amd64 | ||
user: "${user_id}:${group_id}" | ||
volumes: | ||
- ./:/opt/zkllvm-template | ||
command: bash -c "while true; do sleep 60; done" | ||
tty: true | ||
|
||
toolchain: | ||
# Proof Market toolchain | ||
image: ghcr.io/nilfoundation/proof-market-toolchain:0.0.37 | ||
platform: linux/amd64 | ||
user: "${user_id}:${group_id}" | ||
volumes: | ||
- ./:/opt/zkllvm-template | ||
- ./.config:/.config/ | ||
- ./.config:/root/.config/ | ||
- ./.config/.user:/proof-market-toolchain/scripts/.user | ||
- ./.config/.secret:/proof-market-toolchain/scripts/.secret | ||
command: bash -c "while true; do sleep 60; done" | ||
tty: true | ||
|
||
verifier: | ||
image: ghcr.io/nilfoundation/evm-placeholder-verification:latest | ||
platform: linux/amd64 | ||
user: "${user_id}:${group_id}" | ||
volumes: | ||
- ./:/opt/zkllvm-template | ||
- ./build/template:/opt/evm-placeholder-verification/contracts/zkllvm/template | ||
command: bash -c "while true; do sleep 60; done" | ||
tty: true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters