From f94698c123d81826cc39b9503ebde1113e2db5a3 Mon Sep 17 00:00:00 2001 From: Zsolt Tasnadi Date: Sun, 16 Aug 2026 10:35:28 +0200 Subject: [PATCH] Teach the Ebitengine build about our own module namespace MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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) --- builder.Dockerfile | 4 ++++ example-makefile.make | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/builder.Dockerfile b/builder.Dockerfile index 1419ca3..716cb09 100644 --- a/builder.Dockerfile +++ b/builder.Dockerfile @@ -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"] diff --git a/example-makefile.make b/example-makefile.make index 5841caa..06619e0 100644 --- a/example-makefile.make +++ b/example-makefile.make @@ -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