ops: migrate legacy event sequences safely
This commit is contained in:
+4
-1
@@ -1,9 +1,12 @@
|
||||
FROM golang:1.22-alpine AS build
|
||||
WORKDIR /src
|
||||
ARG BUILD_REVISION=devel
|
||||
ARG BUILD_TIME=unknown
|
||||
ARG BUILD_DIRTY=unknown
|
||||
COPY go.mod ./
|
||||
RUN go mod download
|
||||
COPY . ./
|
||||
RUN go build -trimpath -ldflags='-s -w' -o /out/orchestra ./cmd/orchestra
|
||||
RUN go build -trimpath -ldflags="-s -w -X orchestra/internal/buildinfo.Revision=${BUILD_REVISION} -X orchestra/internal/buildinfo.Time=${BUILD_TIME} -X orchestra/internal/buildinfo.Dirty=${BUILD_DIRTY}" -o /out/orchestra ./cmd/orchestra
|
||||
|
||||
FROM alpine:3.21
|
||||
RUN adduser -D -u 10001 orchestra
|
||||
|
||||
Reference in New Issue
Block a user