Files
oc-monitord/Dockerfile
T

14 lines
265 B
Docker
Raw Normal View History

2024-07-25 18:48:25 +02:00
FROM golang:alpine AS builder
WORKDIR /app
COPY . .
2024-08-06 11:42:37 +02:00
RUN apt install tar/stable
2024-07-25 18:48:25 +02:00
RUN go build .
2024-08-19 11:43:40 +02:00
FROM argoproj/argocd:latest
2024-07-25 18:48:25 +02:00
WORKDIR /app
2024-08-06 11:42:37 +02:00
COPY --from=builder /bin/tar /bin/tar
2024-08-19 11:43:40 +02:00
COPY conf/docker_ocmonitord_conf.json /app/conf/
COPY --from=builder /app/oc-monitord .