No Dockerfile to build service #9
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Account Taskfile, add build_docker there.
It should achieve the following:
No need to push docker image, leave it local
Do not forget about config file
Issue #9 Resolved — Merged
Root cause: The service had no containerization artifacts — no Dockerfile, no image build task, and no health probing infrastructure to support container orchestration.
Key changes:
Dockerfile— multi-stage build (golang:1.26-alpinebuilder →distroless/static-debian12final), compiles bothkuriweband ahealthcheckbinary, bakes defaultconfig.json, setsHEALTHCHECK+nonrootuser.dockerignore— excludes.git,bin/,*.sqlite, docs, IDE dirscmd/healthcheck/main.go— static Go binary probing/healthz(exit 0 on 2xx, 1 on error)GET /healthzendpoint incmd/kuriweb/http.gobuild_dockertask inTaskfile.yml(builds only, no push, passesVERSION/COMMIT/BUILD_TIMEargs, tagskuriousweb)Result: Service is now containerizable via a single
task build_dockercommand, producing a minimal distroless image with health probing and a baked-in default config — fully meeting all four issue requirements. Approved by @frx.e09a14cIssue #9 Resolved - Merged
What was done
Added Dockerfile with a proper build stage for the kurious service, addressing all requirements from the original issue:
build_dockertask that builds the Docker image locally (no push, as requested).Changes
e09a14c