Skip to content

Commit b4ffe35

Browse files
committed
Remove nvidia-ctk installation
Signed-off-by: Evan Lezar <[email protected]>
1 parent 3feb86b commit b4ffe35

File tree

5 files changed

+0
-34
lines changed

5 files changed

+0
-34
lines changed

deployments/container/Dockerfile

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,6 @@ ARG VERSION="N/A"
4848
ARG GIT_COMMIT="unknown"
4949
RUN make PREFIX=/artifacts cmds
5050

51-
# Install the nvidia-ctk binary as a go executable
52-
# TODO: Once we can consume a golang API from reconfigure.sh we can remove this.
53-
ARG NVIDIA_CTK_VERSION=main
54-
RUN go install -ldflags "-extldflags=-Wl,-z,lazy -s -w" \
55-
github.com/NVIDIA/nvidia-container-toolkit/cmd/nvidia-ctk@${NVIDIA_CTK_VERSION} \
56-
&& cp ${GOPATH}/bin/nvidia-ctk /artifacts/nvidia-ctk
57-
5851
FROM nvcr.io/nvidia/distroless/go:v3.1.13-dev
5952

6053
USER 0:0

deployments/container/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ $(BUILD_TARGETS): build-%: $(ARTIFACTS_ROOT)
6969
--build-arg GOLANG_VERSION="$(GOLANG_VERSION)" \
7070
--build-arg VERSION="$(vVERSION)" \
7171
--build-arg GIT_COMMIT="$(GIT_COMMIT)" \
72-
--build-arg NVIDIA_CTK_VERSION=$(NVIDIA_CTK_VERSION) \
7372
--build-arg CVE_UPDATES="$(CVE_UPDATES)" \
7473
--build-arg GOPROXY="$(GOPROXY)" \
7574
-f $(DOCKERFILE) \

deployments/devel/tools.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,5 @@ package main
2121

2222
// Define the tooling required to build the device plugin.
2323
import (
24-
_ "github.com/NVIDIA/nvidia-container-toolkit/cmd/nvidia-ctk"
2524
_ "github.com/matryer/moq"
2625
)

hack/container-toolkit-version.sh

Lines changed: 0 additions & 23 deletions
This file was deleted.

versions.mk

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,3 @@ BUILDIMAGE_TAG ?= devel-go$(GOLANG_VERSION)
2323
BUILDIMAGE ?= k8s-mig-manager:$(BUILDIMAGE_TAG)
2424

2525
GIT_COMMIT ?= $(shell git describe --match="" --dirty --long --always --abbrev=40 2> /dev/null || echo "")
26-
27-
NVIDIA_CTK_VERSION := $(shell ./hack/container-toolkit-version.sh)

0 commit comments

Comments
 (0)