shared_testnet: fix Dockerfile
This commit is contained in:
parent
70d468ac2b
commit
f78314e43e
|
@ -11,5 +11,7 @@ ARG NETWORK
|
||||||
ENV NETWORK=${NETWORK}
|
ENV NETWORK=${NETWORK}
|
||||||
|
|
||||||
STOPSIGNAL SIGINT
|
STOPSIGNAL SIGINT
|
||||||
ENTRYPOINT ["/root/nim-beacon-chain/docker/shared_testnet/entry_point.sh"]
|
|
||||||
|
COPY "entry_point.sh" "/root/"
|
||||||
|
ENTRYPOINT ["/root/entry_point.sh"]
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
## local testing
|
## local testing
|
||||||
|
|
||||||
From the "nim-beacon-chain" dir:
|
From the "nim-beacon-chain" repo (top-level dir):
|
||||||
|
|
||||||
```text
|
```text
|
||||||
make -C docker/shared_testnet build
|
make -C docker/shared_testnet build
|
||||||
|
@ -13,3 +13,12 @@ docker ps
|
||||||
docker stop testnet2
|
docker stop testnet2
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Setting up the remote servers, from the "infra-nimbus" repo:
|
||||||
|
|
||||||
|
```text
|
||||||
|
git pull
|
||||||
|
ansible-galaxy install -g -f -r ansible/requirements.yml
|
||||||
|
ansible-playbook ansible/nimbus.yml -i ansible/inventory/test -t beacon-node -u YOUR_USER -K -l nimbus-slaves[5:8]
|
||||||
|
ansible nimbus-slaves[5:8] -i ansible/inventory/test -u YOUR_USER -o -m shell -a "echo; cd /docker/beacon-node-testnet2-1; docker-compose --compatibility run --rm beacon_node --build; echo '---'" | sed 's/\\n/\n/g'
|
||||||
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue