diff --git a/Dockerfile b/Dockerfile index 9134016..9b85d02 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,8 +8,15 @@ ARG VERSION=unknown RUN go build -mod=readonly -ldflags "-X main.version=$VERSION" -o coroot-cluster-agent . -FROM debian:bullseye -RUN apt update && apt install -y ca-certificates && apt clean +FROM registry.access.redhat.com/ubi9/ubi + +ARG VERSION=unknown +LABEL name="coroot-cluster-agent" \ + vendor="Coroot, Inc." \ + version=${VERSION} \ + summary="Coroot Cluster Agent." + +COPY LICENSE /licenses/LICENSE COPY --from=builder /tmp/src/coroot-cluster-agent /usr/bin/coroot-cluster-agent