The image built, but nothing had ever run it. scripts/compose-smoke.sh now
asserts the ship shape against the built image: the image HEALTHCHECK reaches
healthy, a streak ban is enforced over a real socket with Retry-After and a
reason, a bystander from another source is untouched, an operator block
redirects, an allow entry outranks it, DELETE ?source=engine cannot clear an
operator row, and a denied country answers 451 while another source passes.
24 assertions, 0 failures.
Two build fixes found by actually building:
* ARG DBIP_VERSION was declared inside the build stage, so the geoip stage's
re-declaration expanded to an empty string and the URL 404'd. Both ARGs are
global now.
* curlimages/curl runs as uid 100, so /geoip was not writable; the download
lands in /tmp and COPY re-owns it.
The bundled database is dbip-country-lite (4 MB) rather than city-lite (127 MB
unpacked): the geo pillar decides on the ISO country code, and city only feeds
two observation columns. --build-arg DBIP_EDITION=city restores it, and
MaxMindGeoIpLookup reads DatabaseType rather than the filename, so no code
change is involved either way.