Files
gis/test/acceptance/lib/hey.Dockerfile
Bakhtiyar Issakhmetov ca87d6961b test(acceptance): reproducible Stage 8 acceptance package
Add test/acceptance/ so the customer's reviewers can re-run what the
Stage 8 documents claim on an isolated stand built from this branch:

- compose.acceptance.yml + stand.sh: compose project gis-acceptance
  (app 18080, postgres 15432, minio 19000/19001, rabbitmq mgmt 15672),
  POSTGIS_PLATFORM / MINIO_IMAGE knobs for arm64 and amd64 hosts.
- functional.sh: the 89 test-stand checks of Приложение 7 section 5
  (F01-F38, N01-N38, L02-L05, L07-L15), own prefixed test data,
  PostGIS/MinIO confirmation via the stand containers, full cleanup.
- lp_gen.py / lp_run.sh / lp_verify.py: synthetic ЛП inputs, a run from
  stage 0, and an independent numpy re-implementation of every node that
  compares all 15 outputs pixel by pixel; read-only (GET) mode works
  against any stand, in row/column windows for 22219x14977 rasters.
- load.sh + seed.sh: scenarios S1-S6 of Приложение 3 with hey 0.1.5
  running inside the stand network; CSV/JSON summaries, criteria K1-K4.
- scan.sh: govulncheck (source and binary), gosec, trivy fs/image,
  golangci-lint; fails on any High/Critical.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 22:37:28 +05:00

12 lines
434 B
Docker

# Load generator image for load.sh: hey v0.1.5 (github.com/rakyll/hey) built
# from source on the same pinned Go/Alpine images as the application.
FROM golang:1.26.9-alpine3.24 AS build
RUN CGO_ENABLED=0 go install github.com/rakyll/hey@v0.1.5
FROM alpine:3.24
COPY --from=build /go/bin/hey /usr/local/bin/hey
RUN adduser -D -u 10001 hey
USER hey
# One-shot CLI container: nothing to health-check.
HEALTHCHECK NONE
ENTRYPOINT ["hey"]