Skip to content

Commit dbc4d30

Browse files
committed
WIP
1 parent fc86953 commit dbc4d30

File tree

9 files changed

+391
-34
lines changed

9 files changed

+391
-34
lines changed
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
.git
2-
**/target/
2+
bin
3+
target
4+
demo/sovereign/target
5+
zombienet/
36
**/*.txt
47
**/*.md
58
/docker/
6-
!/target/release/polkadot-collator
79

810
# dotfiles in the repo root
911
/.*

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
├──<a href="./adapters">adapters</a>: Adapters for various rollup development kits (RDK).
88
│ ├── <a href="./adapters/rollkit">rollkit</a>: An adapter connecting Rollkit to Sugondat
99
│ ├── <a href="./adapters/sovereign">sovereign</a>: An adapter connecting Sovereign to Sugondat.
10+
├──<a href="./ci">ci</a>: All CI & QA related tools.
1011
├──<a href="./demo">demo</a>: Projects showcasing integration of RDKs with Sugondat.
1112
│ ├── <a href="./demo/rollkit">rollkit</a>: Rollkit's GM rollup.
1213
│ ├── <a href="./demo/sovereign">sovereign</a>: Sovereign Demo Rollup.

ci/polkadot.Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
FROM parity/polkadot:v1.4.0
2+
3+

ci/rococo-local.alice.json

Lines changed: 172 additions & 0 deletions
Large diffs are not rendered by default.

ci/rococo-local.bob.json

Lines changed: 174 additions & 0 deletions
Large diffs are not rendered by default.

docker-compose.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
services:
2+
relay-chain:
3+
image: parity/polkadot:v1.4.0
4+

recipe.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

sugondat-chain/Containerfile

Lines changed: 0 additions & 32 deletions
This file was deleted.

sugondat-chain/Dockerfile

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
FROM ubuntu:20.04 as builder
2+
3+
ARG RUSTC_VERSION=nightly-2023-10-16
4+
5+
RUN \
6+
apt-get update && \
7+
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
8+
ca-certificates \
9+
protobuf-compiler \
10+
curl \
11+
git \
12+
llvm \
13+
clang \
14+
cmake \
15+
make && \
16+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain $RUSTC_VERSION
17+
18+
RUN /root/.cargo/bin/rustup target add wasm32-unknown-unknown
19+
20+
WORKDIR /sugondat
21+
COPY . /sugondat
22+
23+
RUN /root/.cargo/bin/cargo build -p sugondat-node --locked --release
24+
25+
FROM docker.io/library/ubuntu:20.04
26+
27+
COPY --from=builder /sugondat/target/release/sugondat-node /usr/local/bin
28+
29+
USER sugondat
30+
EXPOSE 30333 9933 9944 9615
31+
VOLUME ["/data"]
32+
ENTRYPOINT [ "/usr/local/bin/sugondat-node" ]

0 commit comments

Comments
 (0)