Implement a basic operator to reconcile the folder hierarchy from Unistore to Zanzana (#109705)

This commit is contained in:
Mihai Turdean
2025-08-20 17:14:06 +00:00
committed by GitHub
parent f7d39204cd
commit c8b0fd685b
20 changed files with 3317 additions and 9 deletions
+16
View File
@@ -0,0 +1,16 @@
FROM golang:1.24-alpine AS builder
WORKDIR /build
COPY go.mod go.sum ./
COPY vendor* ./vendor
RUN test -f vendor/modules.txt || go mod download
COPY cmd cmd
COPY pkg pkg
RUN go build -o "target/operator" cmd/operator/*.go
FROM alpine AS runtime
COPY --from=builder /build/target/operator /usr/bin/operator
ENTRYPOINT ["/usr/bin/operator"]