1 Commits

Author SHA1 Message Date
62c1f3920b fixes
Some checks failed
continuous-integration/drone/tag Build is failing
2025-11-29 18:42:41 +05:30

View File

@@ -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