-
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 bf76d1c
Showing
4 changed files
with
101 additions
and
67 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
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
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,54 @@ | ||
version: '3.5' | ||
|
||
services: | ||
zkllvm: | ||
build: | ||
context: . | ||
dockerfile_inline: | | ||
FROM ghcr.io/nilfoundation/zkllvm-template:0.0.86 | ||
RUN groupadd $USER -g $group_id || true | ||
RUN useradd $USER -u $user_id -g $group_id || true | ||
image: zkllvm:latest | ||
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 | ||
build: | ||
context: . | ||
dockerfile_inline: | | ||
FROM ghcr.io/nilfoundation/proof-market-toolchain:0.0.37 | ||
RUN groupadd $USER -g $group_id || true | ||
RUN useradd $USER -u $user_id -g $group_id || true | ||
image: toolchain:latest | ||
platform: linux/amd64 | ||
user: "${user_id}:${group_id}" | ||
volumes: | ||
- ./:/opt/zkllvm-template | ||
- ./.config:/.config/ | ||
- ./.config:/$USER/.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: | ||
build: | ||
context: . | ||
dockerfile_inline: | | ||
FROM ghcr.io/nilfoundation/evm-placeholder-verification:latest | ||
RUN groupadd $USER -g $group_id || true | ||
RUN useradd $USER -u $user_id -g $group_id || true | ||
image: verifier: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