diff --git a/Dockerfile b/Dockerfile index b1dfe95..68a39bf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ # ----------------------------------------------------- -# 1. Build the Nakama plugin (ARM64) +# 1. Build the Nakama plugin # ----------------------------------------------------- FROM golang:1.22-alpine AS plugin_builder # Install dependencies needed for CGO plugin build -RUN apk add --no-cache git build-base +RUN apk add --no-cache git build-base binutils musl-dev WORKDIR /workspace @@ -25,9 +25,9 @@ RUN mkdir -p build && \ # ----------------------------------------------------- -# 2. Build final Nakama image (ARM64) +# 2. Build final Nakama image # ----------------------------------------------------- -FROM --platform=linux/arm64 heroiclabs/nakama:3.21.0 AS nakama +FROM heroiclabs/nakama:3.21.0 AS nakama # Copy plugin from builder stage COPY --from=plugin_builder /workspace/build/main.so /nakama/data/modules/main.so