Fix arm64 builds

This commit is contained in:
WeebDataHoarder
2025-04-08 01:29:02 +02:00
parent 7be88ca6af
commit 04e102cb74
3 changed files with 16 additions and 7 deletions

View File

@@ -1,13 +1,13 @@
ARG from_builder=golang:1.24-alpine3.21
ARG from=alpine:3.21
ARG TARGETPLATFORM
ARG TARGETARCH
ARG TARGETOS
ARG BUILDPLATFORM
FROM --platform=$BUILDPLATFORM ${from_builder} AS build
ARG TARGETARCH
ARG TARGETOS
RUN apk update && apk add --no-cache \
bash \
git \