forked from eth-educators/eth-docker
-
Notifications
You must be signed in to change notification settings - Fork 6
/
deposit-cli.yml
58 lines (58 loc) · 1.73 KB
/
deposit-cli.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
services:
deposit-cli-new:
profiles: ["tools"]
restart: "no"
build:
context: ./staking-deposit-cli
args:
- BUILD_TARGET=${DEPCLI_SRC_BUILD_TARGET:-'$(git describe --tags $(git rev-list --tags --max-count=1))'}
- SRC_REPO=${DEPCLI_SRC_REPO:-https://github.com/ethereum/staking-deposit-cli}
image: staking-deposit-cli:local
pull_policy: never
volumes:
- ./.eth:/app/.eth/
entrypoint:
- docker-entrypoint.sh
- python3
- /app/staking_deposit/deposit.py
- new-mnemonic
- --chain
- ${NETWORK}
deposit-cli-existing:
profiles: ["tools"]
restart: "no"
build:
context: ./staking-deposit-cli
args:
- BUILD_TARGET=${DEPCLI_SRC_BUILD_TARGET:-'$(git describe --tags $(git rev-list --tags --max-count=1))'}
- SRC_REPO=${DEPCLI_SRC_REPO:-https://github.com/ethereum/staking-deposit-cli}
image: staking-deposit-cli:local
pull_policy: never
volumes:
- ./.eth:/app/.eth/
entrypoint:
- docker-entrypoint.sh
- python3
- /app/staking_deposit/deposit.py
- existing-mnemonic
- --chain
- ${NETWORK}
deposit-cli-change:
profiles: ["tools"]
build:
context: ./staking-deposit-cli
args:
- BUILD_TARGET=${DEPCLI_SRC_BUILD_TARGET:-'$(git describe --tags $(git rev-list --tags --max-count=1))'}
- SRC_REPO=${DEPCLI_SRC_REPO:-https://github.com/ethereum/staking-deposit-cli}
restart: "no"
image: staking-deposit-cli:local
pull_policy: never
volumes:
- ./.eth:/app/.eth
entrypoint:
- docker-entrypoint.sh
- python3
- /app/staking_deposit/deposit.py
- generate-bls-to-execution-change
- --chain
- ${NETWORK}