Skip to content

Commit

Permalink
[sui-proxy/mypkg] add mypkg (#19397)
Browse files Browse the repository at this point in the history
## 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:
  • Loading branch information
suiwombat authored Sep 17, 2024
1 parent 6626261 commit 30048a0
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .mypkg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[repositories]
default = .
15 changes: 15 additions & 0 deletions crates/sui-proxy/MYPKG
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
rust_binary(
name="sui-proxy",
command="cargo build",
profile="release",
)
mypkg(
name="sui-proxy",
version="bf9f49ff50ff1c4b3378319dfb16dd0a",
)
podman_build(
name="sui-proxy-image",
registry="docker//us-central1-docker.pkg.dev/cryptic-bolt-398315/sui-proxy",
dockerfile="sui_proxy_dockerfile",
resources=[":sui-proxy"],
)
3 changes: 3 additions & 0 deletions crates/sui-proxy/sui_proxy_dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
FROM gcr.io/distroless/cc-debian12

COPY --chmod=755 sui-proxy /opt/sui/bin/sui-proxy

0 comments on commit 30048a0

Please sign in to comment.