H-337: add local Captain acceptance fixture (#63)
* H-337: add local Captain acceptance fixture * fix(H-337): close acceptance fixture review gaps * fix(H-337): reject non-string skill metadata --------- Co-authored-by: Rogee <rogee@ipao.vip>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
FROM golang:1.25.13-alpine AS build
|
||||
|
||||
WORKDIR /src
|
||||
COPY go.mod main.go ./
|
||||
RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o /captain-fixture .
|
||||
|
||||
FROM alpine:3.21
|
||||
RUN addgroup -S fixture && adduser -S fixture -G fixture
|
||||
COPY --from=build /captain-fixture /usr/local/bin/captain-fixture
|
||||
USER fixture
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["captain-fixture"]
|
||||
Reference in New Issue
Block a user