Skip to content

Commit

Permalink
image: switch to ubi9 base
Browse files Browse the repository at this point in the history
  • Loading branch information
apetruhin committed Nov 5, 2024
1 parent c22497f commit e11693f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e11693f

Please sign in to comment.