diff --git a/Dockerfile b/Dockerfile index 51dfbec..4f78323 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,11 @@ # ----------------------------------------------------- # 1. Build the Nakama plugin # ----------------------------------------------------- -FROM golang:1.22-alpine AS plugin_builder +FROM golang:1.22 AS plugin_builder -# Install full toolchain for CGO + plugins -RUN apk add --no-cache \ - git \ - build-base \ - binutils \ - musl-dev +RUN apt-get update && apt-get install -y \ + build-essential \ + git WORKDIR /workspace