From 447f1c31aafc6c115e00a8ce9707d979650952d1 Mon Sep 17 00:00:00 2001 From: softwarenoob Date: Fri, 17 Jun 2022 10:35:34 +0300 Subject: [PATCH] fix: arm64 docker builds Don't hardcode amd64 platform for the Wings binary. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f5273ed..87c715f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ WORKDIR /app/ COPY go.mod go.sum /app/ RUN go mod download COPY . /app/ -RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build \ +RUN CGO_ENABLED=0 GOOS=linux go build \ -ldflags="-s -w -X github.com/pterodactyl/wings/system.Version=$VERSION" \ -v \ -trimpath \