Sync accepted GitHop state and prompt records
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
FROM golang:1.26-alpine AS build
|
||||
WORKDIR /src
|
||||
COPY go.mod go.sum ./
|
||||
RUN go mod download
|
||||
COPY . .
|
||||
RUN CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o /out/hop-control-plane ./cmd/hop-control-plane
|
||||
|
||||
FROM alpine:3.23
|
||||
RUN apk add --no-cache ca-certificates && addgroup -S hop && adduser -S -G hop hop
|
||||
COPY --from=build /out/hop-control-plane /usr/local/bin/hop-control-plane
|
||||
USER hop
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["hop-control-plane"]
|
||||
|
||||
Reference in New Issue
Block a user