fix: arm64 docker builds

Don't hardcode amd64 platform for the Wings binary.
This commit is contained in:
softwarenoob 2022-06-17 10:35:34 +03:00
parent a51ce6f4ac
commit 447f1c31aa
No known key found for this signature in database
GPG Key ID: 727A9A3F4417ED51

View File

@ -7,7 +7,7 @@ WORKDIR /app/
COPY go.mod go.sum /app/ COPY go.mod go.sum /app/
RUN go mod download RUN go mod download
COPY . /app/ 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" \ -ldflags="-s -w -X github.com/pterodactyl/wings/system.Version=$VERSION" \
-v \ -v \
-trimpath \ -trimpath \