From 5061ce68e0cec3f383c1ecce2efeb1d6acb524e1 Mon Sep 17 00:00:00 2001 From: garanews Date: Wed, 31 Jul 2024 09:43:12 +0200 Subject: [PATCH] Update Dockerfile --- compose/local/django/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compose/local/django/Dockerfile b/compose/local/django/Dockerfile index 49c7853b..7357321e 100644 --- a/compose/local/django/Dockerfile +++ b/compose/local/django/Dockerfile @@ -42,7 +42,7 @@ RUN python setup.py build FROM common-base AS go-builder ARG TARGETPLATFORM -RUN apt-get update && apt-get install -y curl gcc-aarch64-linux-gnu +RUN apt-get update && apt-get install -y curl gcc-aarch64-linux-gnu gcc-multilib RUN echo "Building for platform: $TARGETPLATFORM" \ && if [ "$TARGETPLATFORM" = "linux/amd64" ]; then \ curl -Lo go.tar.gz https://dl.google.com/go/go1.22.0.linux-amd64.tar.gz \ @@ -50,7 +50,7 @@ RUN echo "Building for platform: $TARGETPLATFORM" \ && rm go.tar.gz \ && git clone https://github.com/volatilityfoundation/dwarf2json.git \ && cd dwarf2json \ - && CC=gcc /usr/local/go/bin/go build; \ + && CC="gcc -m64" /usr/local/go/bin/go build; \ elif [ "$TARGETPLATFORM" = "linux/arm64" ]; then \ curl -Lo go.tar.gz https://dl.google.com/go/go1.22.0.linux-arm64.tar.gz \ && tar -C /usr/local -xzf go.tar.gz \