Commit graph

4 commits

Author SHA1 Message Date
3ae27c435d container: build and ship cmd/createuser in the server image
Mirrors the telesrv-admin pattern - a static build stage compile, copied
into the final alpine image as /app/createuser - so the tool is
available wherever the server image runs, not just from a local go run.
2026-09-14 12:05:28 +01:00
4f7d619955 build: stamp git metadata into the container image
.containerignore excludes .git, so go build's automatic VCS stamping produced
nothing and telesrv logged git_commit/git_branch/git_tree_state/build_time as
"unknown" on startup.

- Containerfile: accept GIT_COMMIT/GIT_BRANCH/GIT_TREE_STATE/BUILD_TIME build
  args and pass them to the gramsrv build via -ldflags -X.
- build.sh: wrapper that fills those args from the current checkout and runs
  podman build.
2026-09-14 11:58:47 +01:00
db3fbe6015 Containerfile: copy sticker-seed data into the image 2026-09-14 11:53:43 +01:00
196f90f9b1 Add Containerfile and .containerignore 2026-09-14 11:52:52 +01:00