From 3d720ea264bf9c4807d1c5e8a5cbec6bd2d26102 Mon Sep 17 00:00:00 2001 From: Nazar Mokrynskyi Date: Tue, 8 Oct 2024 10:34:04 +0300 Subject: [PATCH] Remove `CARGO_NET_GIT_FETCH_WITH_CLI` workaround as no longer necessary --- Dockerfile-bootstrap-node | 2 -- Dockerfile-farmer | 2 -- Dockerfile-node | 2 -- Dockerfile-runtime | 2 -- 4 files changed, 8 deletions(-) diff --git a/Dockerfile-bootstrap-node b/Dockerfile-bootstrap-node index 8025ff6efe..8e7e62949f 100644 --- a/Dockerfile-bootstrap-node +++ b/Dockerfile-bootstrap-node @@ -4,8 +4,6 @@ FROM --platform=$BUILDPLATFORM ubuntu:22.04 ARG RUSTC_VERSION=nightly-2024-09-26 ARG PROFILE=production ARG RUSTFLAGS -# Workaround for https://github.com/rust-lang/cargo/issues/10583 -ENV CARGO_NET_GIT_FETCH_WITH_CLI=true # Incremental compilation here isn't helpful ENV CARGO_INCREMENTAL=0 ENV PKG_CONFIG_ALLOW_CROSS=true diff --git a/Dockerfile-farmer b/Dockerfile-farmer index 3c1be47331..0b9ee87dc4 100644 --- a/Dockerfile-farmer +++ b/Dockerfile-farmer @@ -4,8 +4,6 @@ FROM --platform=$BUILDPLATFORM ubuntu:22.04 ARG RUSTC_VERSION=nightly-2024-09-26 ARG PROFILE=production ARG RUSTFLAGS -# Workaround for https://github.com/rust-lang/cargo/issues/10583 -ENV CARGO_NET_GIT_FETCH_WITH_CLI=true # Incremental compilation here isn't helpful ENV CARGO_INCREMENTAL=0 ENV PKG_CONFIG_ALLOW_CROSS=true diff --git a/Dockerfile-node b/Dockerfile-node index f82550e989..48c71ca580 100644 --- a/Dockerfile-node +++ b/Dockerfile-node @@ -4,8 +4,6 @@ FROM --platform=$BUILDPLATFORM ubuntu:22.04 ARG RUSTC_VERSION=nightly-2024-09-26 ARG PROFILE=production ARG RUSTFLAGS -# Workaround for https://github.com/rust-lang/cargo/issues/10583 -ENV CARGO_NET_GIT_FETCH_WITH_CLI=true # Incremental compilation here isn't helpful ENV CARGO_INCREMENTAL=0 ENV PKG_CONFIG_ALLOW_CROSS=true diff --git a/Dockerfile-runtime b/Dockerfile-runtime index 09a96cfe3a..463cbbae6c 100644 --- a/Dockerfile-runtime +++ b/Dockerfile-runtime @@ -4,8 +4,6 @@ FROM --platform=$BUILDPLATFORM ubuntu:22.04 ARG RUSTC_VERSION=nightly-2024-09-26 ARG PROFILE=production ARG RUSTFLAGS -# Workaround for https://github.com/rust-lang/cargo/issues/10583 -ENV CARGO_NET_GIT_FETCH_WITH_CLI=true # Incremental compilation here isn't helpful ENV CARGO_INCREMENTAL=0 ENV PKG_CONFIG_ALLOW_CROSS=true