mirror of
https://github.com/paralus/paralus.git
synced 2026-02-14 17:49:51 +00:00
feat: changes to view audit logs by project and cluster role users --------- Signed-off-by: niravparikh05 <nir.parikh05@gmail.com>
15 lines
351 B
Docker
15 lines
351 B
Docker
FROM golang:1.20 as build
|
|
LABEL description="Build container"
|
|
|
|
ENV CGO_ENABLED 0
|
|
COPY . /build
|
|
WORKDIR /build
|
|
RUN go build -ldflags "-s" -o start-sync scripts/kratos/providers_sync.go
|
|
|
|
FROM alpine:latest as runtime
|
|
LABEL description="Run container"
|
|
|
|
WORKDIR /usr/bin
|
|
COPY --from=build /build/start-sync /usr/bin/start-sync
|
|
ENTRYPOINT ["./start-sync"]
|