fix: arm64 docker builds
Don't hardcode amd64 platform for the Wings binary.
This commit is contained in:
parent
a51ce6f4ac
commit
447f1c31aa
|
@ -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 \
|
||||
|
|
Loading…
Reference in New Issue
Block a user