Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!
openssl genrsa -des3 -out rootCA.key 4096
FROM heroiclabs/nakama-pluginbuilder:2.11.0 AS builder | |
ENV GO111MODULE on | |
ENV CGO_ENABLED 1 | |
WORKDIR /backend | |
COPY . . | |
RUN go build --trimpath --mod=vendor --buildmode=plugin -o ./backend.so |