-
Notifications
You must be signed in to change notification settings - Fork 68
we put more docker in your docker so...you can test your network #786
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
fixxxedpoint
merged 28 commits into
Cardinal-Cryptography:main
from
fixxxedpoint:network_tests.synthetic-network
Dec 8, 2022
Merged
Changes from 1 commit
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
decb0db
initial version of Dockerfile for synthetic network aleph-node
fixxxedpoint 437921d
working synthetic-network
fixxxedpoint 511e121
build script for aleph-node:synthetic-network
fixxxedpoint fae6256
added script for running synthetic-network
fixxxedpoint 6b2f125
added descriptive log line to run-synthetic-network
fixxxedpoint c3b46ad
extended `help` of run_consensus_synthetic-network.sh
fixxxedpoint 61b5ec5
refactored build_synthetic-network...
fixxxedpoint 75abb85
added script for running scripts for synthetic-network
fixxxedpoint afb6969
refactored synthetic-network scripts
fixxxedpoint f61ae0a
refactored run_script_for_synthetic-network.sh
fixxxedpoint f4c7e86
refactored run_script_for_synthetic-network.sh: added help and args
fixxxedpoint bc5d27f
added description to patching step in build-synthetic-network script
fixxxedpoint d607f6a
added description about aleph-node:latest docker image requirement in…
fixxxedpoint e6cbc9a
reformated Dockerfile.synthetic-network
fixxxedpoint 065dc6f
added PREREQ to run_script_for_synthetic-network.sh
fixxxedpoint b74c430
+x on synthetic-network scripts
fixxxedpoint b8f6e58
added note about node.js in run_script_for_synthetic-network.sh
fixxxedpoint fdaaed1
more robust Dockerfile.synthetic_network
fixxxedpoint e1b5718
FIX: docker-compose for synthetic-network was using two seperate netw…
fixxxedpoint 20ffabc
added a shell script allowing to reset to default settings a node wit…
fixxxedpoint 4e095f1
moved scripts for synthetic-network
fixxxedpoint 0bc6cf9
example .js script for synthetic-network
fixxxedpoint 0ec5a40
moved synthetic-network scripts
fixxxedpoint 7024beb
added README.md for synthetic-network
fixxxedpoint 7799653
FIX: run_consensus_synthetic-network.sh after it was moved
fixxxedpoint 75439c6
passing args to invoked script in run_script_for_synthetic-network.sh
fixxxedpoint 943190e
small change in README.md for synthetic-network
fixxxedpoint 3bbbad9
review changes for synthetic-network
fixxxedpoint File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
more robust Dockerfile.synthetic_network
- Loading branch information
commit fdaaed1c8f7666eff88e2b3e3d25e569e5ea0e71
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -1,11 +1,13 @@ | ||
| FROM aleph-node:latest as binary-image | ||
| FROM syntheticnet:latest as synthnet | ||
|
|
||
| FROM syntheticnet:latest | ||
| FROM aleph-node:latest | ||
|
|
||
| # Linux networking tools and node.js | ||
| RUN apt update && \ | ||
| apt install curl iproute2 iputils-ping net-tools netwox tcpdump gdb gdbserver stress -y | ||
|
|
||
| COPY --from=binary-image /usr/local/bin/aleph-node /usr/local/bin/ | ||
| COPY --from=binary-image /node/docker_entrypoint.sh /node/ | ||
| apt install nodejs curl iproute2 iputils-ping net-tools netwox tcpdump gdb gdbserver stress -y | ||
|
|
||
| COPY --from=synthnet /opt/lib/ /opt/lib/ | ||
| WORKDIR /opt/lib | ||
| ENTRYPOINT [] | ||
| ENV ENTRY="/node/docker_entrypoint.sh" | ||
| CMD ["/opt/lib/setup.sh"] | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.