Skip to content

Commit 7a9304a

Browse files
committed
Fix COPYing files during image build
Signed-off-by: Dr. Jan-Philip Gehrcke <[email protected]>
1 parent 5a4717f commit 7a9304a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

deployments/container/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,12 @@ LABEL org.opencontainers.image.source="https://github.com/NVIDIA/k8s-dra-driver-
102102
# https://docs.docker.com/build/building/multi-platform/#install-qemu-manually
103103
RUN mkdir /licenses && mv /NGC-DL-CONTAINER-LICENSE /licenses/NGC-DL-CONTAINER-LICENSE
104104

105+
COPY /hack/kubelet-plugin-prestart.sh /usr/bin/kubelet-plugin-prestart.sh
106+
COPY /templates /templates
107+
105108
COPY --from=toolkit /usr/bin/nvidia-cdi-hook /usr/bin/nvidia-cdi-hook
106109
COPY --from=build /artifacts/compute-domain-controller /usr/bin/compute-domain-controller
107110
COPY --from=build /artifacts/compute-domain-kubelet-plugin /usr/bin/compute-domain-kubelet-plugin
108111
COPY --from=build /artifacts/compute-domain-daemon /usr/bin/compute-domain-daemon
109112
COPY --from=build /artifacts/gpu-kubelet-plugin /usr/bin/gpu-kubelet-plugin
110-
COPY --from=build /build/hack/kubelet-plugin-prestart.sh /usr/bin/kubelet-plugin-prestart.sh
111-
COPY --from=build /build/templates /templates
112-
COPY /templates /templates
113+

0 commit comments

Comments
 (0)