From c0d10a51e52fc164642329dbf797d97331e63a55 Mon Sep 17 00:00:00 2001 From: garanews Date: Wed, 31 Jul 2024 11:28:51 +0200 Subject: [PATCH] Update Dockerfile --- compose/local/django/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/compose/local/django/Dockerfile b/compose/local/django/Dockerfile index 686bbe3a..1308bc07 100644 --- a/compose/local/django/Dockerfile +++ b/compose/local/django/Dockerfile @@ -43,7 +43,7 @@ RUN python setup.py build FROM common-base AS go-builder ARG TARGETPLATFORM ARG BUILDPLATFORM -RUN apt-get update && apt-get install -y curl +RUN apt-get update && apt-get install -y curl gcc-aarch64-linux-gnu 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 \ @@ -56,7 +56,6 @@ RUN echo "Building for platform: $TARGETPLATFORM" \ 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 \ && rm go.tar.gz \ - && apt-get install -y gcc-aarch64-linux-gnu \ && git clone https://github.com/volatilityfoundation/dwarf2json.git \ && cd dwarf2json \ && CC=aarch64-linux-gnu-gcc /usr/local/go/bin/go build; \