11
Dockerfile
11
Dockerfile
@@ -1,14 +1,11 @@
|
|||||||
# -----------------------------------------------------
|
# -----------------------------------------------------
|
||||||
# 1. Build the Nakama plugin
|
# 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 apt-get update && apt-get install -y \
|
||||||
RUN apk add --no-cache \
|
build-essential \
|
||||||
git \
|
git
|
||||||
build-base \
|
|
||||||
binutils \
|
|
||||||
musl-dev
|
|
||||||
|
|
||||||
WORKDIR /workspace
|
WORKDIR /workspace
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user