From 9be53cbd96a34ffdfa5c0a823523a028c6a6a917 Mon Sep 17 00:00:00 2001 From: Wolfgang Date: Fri, 31 Mar 2023 07:14:25 +0000 Subject: [PATCH] add workaround for memory bug (https://github.com/rust-lang/cargo/issues/10583) --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index b288565..bed1d30 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,6 @@ FROM debian:bullseye-slim as builder-stage +# workaround for memory bug https://github.com/rust-lang/cargo/issues/10583 +ENV CARGO_NET_GIT_FETCH_WITH_CLI=true RUN apt update && apt-get install -y --no-install-recommends \ build-essential curl ca-certificates sudo git lintian \