File tree Expand file tree Collapse file tree 2 files changed +31
-7
lines changed
Expand file tree Collapse file tree 2 files changed +31
-7
lines changed Original file line number Diff line number Diff line change 11FROM paritytech/ci-linux:production
22
3- WORKDIR /var/www
4- # TODO: have this dockerfile pull the hashed-substrate repo
5- COPY . ./hashed-substrate
6-
7- WORKDIR /var/www/hashed-substrate
83# this dir doesnt exists but zombienet script tries to create a file within
94RUN mkdir /cfg
105
11- RUN cargo build --release
6+ WORKDIR /var/www
7+
8+ RUN git clone https://github.com/hashed-io/hashed-substrate.git
9+
10+ WORKDIR /var/www/hashed-substrate
11+ # change to main or develop
12+ RUN git checkout develop && cargo build --release
1213
1314EXPOSE 30333 40333 9933 9944 9946
1415
@@ -17,5 +18,5 @@ RUN mv /var/www/hashed-substrate/target/release/hashed-parachain /usr/local/bin
1718
1819# check if executable works in this container
1920RUN /usr/local/bin/hashed-parachain --version
20-
21+ # ENTRYPOINT allows to add parameters/flags via k8 manifests
2122ENTRYPOINT [ "hashed-parachain" ]
Original file line number Diff line number Diff line change 1+ [relaychain ]
2+ default_image = " docker.io/parity/polkadot:v0.9.27"
3+ default_command = " polkadot"
4+ default_args = [ " -lparachain=debug" ]
5+
6+ chain = " rococo-local"
7+
8+ [[relaychain .nodes ]]
9+ name = " alice"
10+ validator = true
11+
12+ [[relaychain .nodes ]]
13+ name = " bob"
14+ validator = true
15+
16+ [[parachains ]]
17+ id = 2000
18+ cumulus_based = true
19+
20+ [parachains .collator ]
21+ name = " collator01"
22+ image = " docker.io/abhashed/test-collator"
23+ command = " hashed-parachain"
You can’t perform that action at this time.
0 commit comments