Teach the Ebitengine build about our own module namespace

inkwell is now a published module (engines/inkwell v0.1.0) rather than a
sibling checkout, so a project that depends on it needs GOPRIVATE — our
forge is not proxy.golang.org and not in the public checksum database.
Set in both the builder image and the Makefile template, so it holds
whether or not the image has been rebuilt.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-08-16 10:35:28 +02:00
co-authored by Claude Opus 5
parent 04afcb0b98
commit f94698c123
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -24,6 +24,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
libasound2-dev \
&& rm -rf /var/lib/apt/lists/*
# Our own Go modules (engines/inkwell, engines/gorpg) are served by the forge,
# not by proxy.golang.org, and are absent from the public checksum database.
ENV GOPRIVATE=git.teletypegames.org
WORKDIR /workspace
CMD ["/bin/bash"]
+4
View File
@@ -4,6 +4,10 @@
PROJECT = ebitenginedemo
# Our own modules live on the forge, not on proxy.golang.org: fetch them
# directly and skip the public checksum database.
export GOPRIVATE = git.teletypegames.org
BIN_DIR = bin
DIST_DIR = dist
WASM_NAME = game.wasm