Remove BUILDARCH and stamp the git version in Docker builds (closes #107, closes #109)
check / check (push) Successful in 2m40s

The Makefile no longer passes a build architecture; it set a variable that
does not exist, and the architecture is available at run time.

A plain docker build now stamps neoircd with the tag or short commit:
.dockerignore sends .git, without its config, and the builder takes the
version from the VERSION build arg when given, otherwise from git describe.
With .git present, an empty, dev or unknown version fails the build.

Model: opus-5-5
This commit is contained in:
clawbot
2026-10-02 01:27:56 +00:00
committed by sneak
parent 915f56ee02
commit 04f60eea50
3 changed files with 16 additions and 5 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
.git
# .git is sent so the build can stamp the version, without its config.
.git/config
*.md
!README.md
neoircd