Skip to content

Commit 30048a0

Browse files
authored
[sui-proxy/mypkg] add mypkg (MystenLabs#19397)
## Description add mypkg target ## Test plan locally --- ## Release notes Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required. For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates. - [ ] Protocol: - [ ] Nodes (Validators and Full nodes): - [ ] Indexer: - [ ] JSON-RPC: - [ ] GraphQL: - [ ] CLI: - [ ] Rust SDK: - [ ] REST API:
1 parent 6626261 commit 30048a0

File tree

3 files changed

+20
-0
lines changed

3 files changed

+20
-0
lines changed

.mypkg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[repositories]
2+
default = .

crates/sui-proxy/MYPKG

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
rust_binary(
2+
name="sui-proxy",
3+
command="cargo build",
4+
profile="release",
5+
)
6+
mypkg(
7+
name="sui-proxy",
8+
version="bf9f49ff50ff1c4b3378319dfb16dd0a",
9+
)
10+
podman_build(
11+
name="sui-proxy-image",
12+
registry="docker//us-central1-docker.pkg.dev/cryptic-bolt-398315/sui-proxy",
13+
dockerfile="sui_proxy_dockerfile",
14+
resources=[":sui-proxy"],
15+
)

crates/sui-proxy/sui_proxy_dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
FROM gcr.io/distroless/cc-debian12
2+
3+
COPY --chmod=755 sui-proxy /opt/sui/bin/sui-proxy

0 commit comments

Comments
 (0)