Minimize code + docker + monitord naming
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -4,15 +4,11 @@ WORKDIR /app
|
||||
COPY . .
|
||||
RUN apt install tar/stable
|
||||
RUN go build .
|
||||
RUN mkdir workflows/
|
||||
|
||||
FROM scratch
|
||||
FROM argoproj/argocd:latest
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY --from=builder /bin/tar /bin/tar
|
||||
COPY conf/ocmonitor_conf.json /app/conf/
|
||||
COPY --from=builder /app/oc-monitor .
|
||||
COPY --from=builder /app/workflows/ .
|
||||
|
||||
ENTRYPOINT [ "/app/oc-monitor" ]
|
||||
COPY conf/docker_ocmonitord_conf.json /app/conf/
|
||||
COPY --from=builder /app/oc-monitord .
|
||||
Reference in New Issue
Block a user