From 7581af257272feceba4deee88b00b20346f1b85e Mon Sep 17 00:00:00 2001 From: Andrew Gouin Date: Mon, 6 Nov 2023 15:27:08 -0700 Subject: [PATCH] portable env for rocksdb --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3319fc10..9aedcdc9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -49,7 +49,7 @@ RUN if [ "${TARGETARCH}" = "arm64" ] && [ "${BUILDARCH}" != "arm64" ]; then \ elif [ "${TARGETARCH}" = "amd64" ] && [ "${BUILDARCH}" != "amd64" ]; then \ export CC=x86_64-linux-musl-gcc CXX=x86_64-linux-musl-g++; \ fi; \ - make -j$(nproc) static_lib + PORTABLE=1 make -j$(nproc) static_lib WORKDIR /workspace # Copy the Go Modules manifests