# 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"]