Skip to content

feat: Use distroless images for Operator and Webhook#99

Merged
heyvister1 merged 1 commit intoMellanox:network-operator-25.10.xfrom
e0ne:distroless
Nov 4, 2025
Merged

feat: Use distroless images for Operator and Webhook#99
heyvister1 merged 1 commit intoMellanox:network-operator-25.10.xfrom
e0ne:distroless

Conversation

@e0ne
Copy link
Collaborator

@e0ne e0ne commented Nov 4, 2025

No description provided.

@github-actions
Copy link

github-actions bot commented Nov 4, 2025

Thanks for your PR,
To run vendors CIs, Maintainers can use one of:

  • /test-all: To run all tests for all vendors.
  • /test-e2e-all: To run all E2E tests for all vendors.
  • /test-e2e-nvidia-all: To run all E2E tests for NVIDIA vendor.

To skip the vendors CIs, Maintainers can use one of:

  • /skip-all: To skip all tests for all vendors.
  • /skip-e2e-all: To skip all E2E tests for all vendors.
  • /skip-e2e-nvidia-all: To skip all E2E tests for NVIDIA vendor.
    Best regards.

@e0ne e0ne changed the title Distroless feat: Use distroless images for Operator and Webkook Nov 4, 2025
@e0ne e0ne changed the title feat: Use distroless images for Operator and Webkook feat: Use distroless images for Operator and Webhook Nov 4, 2025
RUN make _build-webhook BIN_PATH=build/_output/cmd

FROM quay.io/centos/centos:stream9
FROM ${BASE_IMAGE_GO_DISTROLESS_DEV:-nvcr.io/nvidia/distroless/go:v3.2.1-dev}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should update only .nvidia Docker files

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

my bad, will fix it asap

ARG BASE_IMAGE_GO_DISTROLESS_DEV

FROM golang:1.23 AS builder

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need:
line 27
FROM ${BASE_IMAGE_GO_DISTROLESS_DEV:-nvcr.io/nvidia/distroless/go:v3.2.1-dev}

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Signed-off-by: Ivan Kolodiazhnyi <ikolodiazhny@nvidia.com>
@heyvister1 heyvister1 merged commit 480823f into Mellanox:network-operator-25.10.x Nov 4, 2025
10 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants