This commit is contained in:
mr
2024-08-20 15:23:02 +02:00
parent feca395039
commit 696493fe5a
6 changed files with 9 additions and 16 deletions

View File

@@ -2,13 +2,11 @@ FROM golang:alpine AS builder
WORKDIR /app
COPY . .
RUN apt install tar/stable
RUN go build .
FROM argoproj/argocd:latest
WORKDIR /app
COPY --from=builder /bin/tar /bin/tar
COPY conf/docker_ocmonitord_conf.json /app/conf/
COPY --from=builder /app/oc-monitord .