Skip to content

Commit

Permalink
gcc-arm-linux-gnueabi
Browse files Browse the repository at this point in the history
  • Loading branch information
maiquanghiep committed Sep 3, 2024
1 parent f8c2e00 commit 2ae013c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions contrib/images/babylond/Dockerfile
Original file line number Diff line number Diff line change
@@ -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=""
Expand All @@ -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
Expand Down

0 comments on commit 2ae013c

Please sign in to comment.