Skip to content

Commit

Permalink
Merge pull request eth-educators#448 from yorickdowne/main
Browse files Browse the repository at this point in the history
Support staking-deposit-cli 2.0.0
  • Loading branch information
yorickdowne authored Feb 5, 2022
2 parents df92ffc + 9bd6f93 commit 75014df
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ For a quick testnet start, you can install prerequisites and configure eth-docke

# Version

This is eth-docker v1.7.4.2
This is eth-docker v1.7.4.3
10 changes: 5 additions & 5 deletions deposit-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,28 @@ services:
deposit-cli-new:
restart: "no"
build:
context: ./eth-deposit-cli
context: ./staking-deposit-cli
args:
- BUILD_TARGET=${DEPCLI_SRC_BUILD_TARGET}
image: eth-deposit-cli:local
image: staking-deposit-cli:local
volumes:
- ${DEPCLI_LOCALDIR}:/app/.eth/
entrypoint:
- docker-entrypoint.sh
- python3
- /app/eth2deposit/deposit.py
- /app/staking_deposit/deposit.py
- new-mnemonic
- --chain
- ${NETWORK}
deposit-cli-existing:
restart: "no"
image: eth-deposit-cli:local
image: staking-deposit-cli:local
volumes:
- ${DEPCLI_LOCALDIR}:/app/.eth/
entrypoint:
- docker-entrypoint.sh
- python3
- /app/eth2deposit/deposit.py
- /app/staking_deposit/deposit.py
- existing-mnemonic
- --chain
- ${NETWORK}
4 changes: 2 additions & 2 deletions eth-deposit-cli/Dockerfile → staking-deposit-cli/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN adduser \
WORKDIR /app

COPY --from=builder /src/eth2.0-deposit-cli/requirements.txt /src/eth2.0-deposit-cli/setup.py ./
COPY --from=builder /src/eth2.0-deposit-cli/eth2deposit ./eth2deposit
COPY --from=builder /src/eth2.0-deposit-cli/staking_deposit ./staking_deposit

RUN apk add --update gcc libc-dev linux-headers bash su-exec

Expand All @@ -37,4 +37,4 @@ RUN chown -R ${USER}:${USER} /app

COPY ./docker-entrypoint.sh /usr/local/bin/

ENTRYPOINT [ "docker-entrypoint.sh","python3","./eth2deposit/deposit.py" ]
ENTRYPOINT [ "docker-entrypoint.sh","python3","./staking_deposit/deposit.py" ]
File renamed without changes.

0 comments on commit 75014df

Please sign in to comment.