Skip to content

Commit

Permalink
build: update nakama plugin builder for newer go version
Browse files Browse the repository at this point in the history
  • Loading branch information
rmrt1n committed Dec 13, 2024
1 parent 86adb12 commit 5699c46
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions relay/nakama/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM heroiclabs/nakama-pluginbuilder:3.22.0 AS builder
FROM heroiclabs/nakama-pluginbuilder:3.25.0 AS builder

ENV GO111MODULE on
ENV CGO_ENABLED 1
Expand All @@ -12,7 +12,7 @@ RUN go mod download

RUN go build --trimpath --buildmode=plugin -o ./plugin.so

FROM heroiclabs/nakama-pluginbuilder:3.22.0-arm AS builder-arm
FROM heroiclabs/nakama-pluginbuilder:3.25.0-arm AS builder-arm

ENV GO111MODULE on
ENV CGO_ENABLED 1
Expand All @@ -26,7 +26,7 @@ RUN go mod download

RUN go build --trimpath --buildmode=plugin -o ./plugin.so

FROM heroiclabs/nakama:3.22.0 AS nakama
FROM heroiclabs/nakama:3.25.0 AS nakama

RUN apt-get -y update && \
apt-get -y install --no-install-recommends curl && \
Expand All @@ -35,7 +35,7 @@ RUN apt-get -y update && \
COPY --from=builder /nakama/plugin/plugin.so /nakama/data/modules/
COPY relay/nakama/local.yml /nakama/data/

FROM heroiclabs/nakama:3.22.0-arm AS nakama-arm
FROM heroiclabs/nakama:3.25.0-arm AS nakama-arm

COPY --from=builder-arm /nakama/plugin/plugin.so /nakama/data/modules/
COPY relay/nakama/local.yml /nakama/data/
COPY relay/nakama/local.yml /nakama/data/

0 comments on commit 5699c46

Please sign in to comment.