oc-monitord

This commit is contained in:
mr
2025-03-24 09:23:03 +01:00
parent 907880bfd6
commit b4d57a8f2f
2 changed files with 4 additions and 2 deletions

View File

@@ -1,5 +1,7 @@
FROM golang:alpine AS deps
ARG MONITORD_IMAGE
WORKDIR /app
COPY go.mod go.sum ./
RUN sed -i '/replace/d' go.mod
@@ -19,7 +21,7 @@ COPY . .
RUN go build
#----------------------------------------------------------------------------------------------
FROM oc-monitord:latest AS monitord
FROM ${MONITORD_IMAGE:-oc-monitord}:latest AS monitord
FROM scratch