diff --git a/.mypkg b/.mypkg new file mode 100644 index 0000000000000..f826da4896aa1 --- /dev/null +++ b/.mypkg @@ -0,0 +1,2 @@ +[repositories] +default = . \ No newline at end of file diff --git a/crates/sui-proxy/MYPKG b/crates/sui-proxy/MYPKG new file mode 100644 index 0000000000000..34069932888f9 --- /dev/null +++ b/crates/sui-proxy/MYPKG @@ -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"], +) diff --git a/crates/sui-proxy/sui_proxy_dockerfile b/crates/sui-proxy/sui_proxy_dockerfile new file mode 100644 index 0000000000000..5c03abed55185 --- /dev/null +++ b/crates/sui-proxy/sui_proxy_dockerfile @@ -0,0 +1,3 @@ +FROM gcr.io/distroless/cc-debian12 + +COPY --chmod=755 sui-proxy /opt/sui/bin/sui-proxy \ No newline at end of file