forked from NVIDIA/aicr
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.ko.yaml
More file actions
23 lines (22 loc) · 1.32 KB
/
Copy path.ko.yaml
File metadata and controls
23 lines (22 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright (c) 2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# The aicr CLI/agent is a pure-Go binary that discovers the GPU SKU driver-free
# via NFD/PCI, so it needs neither nvidia-smi nor the CUDA base (and its
# recurring CVE surface). It runs on NVIDIA's own static distroless base rather
# than ko's default (cgr.dev/chainguard/static). ko still stamps its default
# nonroot user (UID 65532) numerically, so it runs unprivileged regardless of
# the base image's own nvs (UID 1000) account. This defaultBaseImage applies to
# `ko build` CLI invocations (e.g. the vuln-scan workflow); goreleaser's kos
# entries pin the same image explicitly via base_image.
defaultBaseImage: nvcr.io/nvidia/distroless/static:v4.0.0@sha256:d90158b69e250d2018f32622b5c622925202ee97224a990a54b63811cb1e3d69