From 2ae013c0ff15476e6b1ef9295a09e22ce07b0607 Mon Sep 17 00:00:00 2001 From: Hiep Mai Date: Tue, 3 Sep 2024 20:17:03 +0700 Subject: [PATCH] gcc-arm-linux-gnueabi --- contrib/images/babylond/Dockerfile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/contrib/images/babylond/Dockerfile b/contrib/images/babylond/Dockerfile index f8d2761d2..05dcf6b80 100644 --- a/contrib/images/babylond/Dockerfile +++ b/contrib/images/babylond/Dockerfile @@ -1,5 +1,10 @@ FROM --platform=$BUILDPLATFORM golang:1.21 AS build-env +RUN apt-get update && apt-get install -y --no-install-recommends \ + gcc-arm-linux-gnueabi \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* + # Version to build. Default is empty ARG VERSION ARG BUILD_TAGS="" @@ -24,9 +29,6 @@ RUN LEDGER_ENABLED=$LEDGER_ENABLED \ BUILD_TAGS=$BUILD_TAGS \ COSMOS_BUILD_OPTIONS=$COSMOS_BUILD_OPTIONS \ LINK_STATICALLY=false \ - GOOS=${TARGETOS} \ - GOARCH=${TARGETARCH} \ - CC=arm-linux-gnueabi-gcc CGO_ENABLED=1 \ make build FROM debian:bookworm-slim AS wasm-link