Explorar o código

update docker image

Jayant Krishnamurthy %!s(int64=2) %!d(string=hai) anos
pai
achega
2d6d219543
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      third_party/pyth/Dockerfile.p2w-attest

+ 3 - 0
third_party/pyth/Dockerfile.p2w-attest

@@ -12,6 +12,9 @@ WORKDIR /usr/src/wormhole_attester
 ENV EMITTER_ADDRESS="11111111111111111111111111111115"
 ENV BRIDGE_ADDRESS="Bridge1p5gheXUvJ6jGWGeCsgPKgnE3YgdGKRVCMY9o"
 
+# This option reduces RAM usage when fetching the crates.io index
+ENV CARGO_NET_GIT_FETCH_WITH_CLI=true
+
 RUN --mount=type=cache,target=/root/.cache \
     --mount=type=cache,target=/usr/local/cargo/registry \
     --mount=type=cache,target=target \