We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 55d2ea9 commit 7129807Copy full SHA for 7129807
1 file changed
rhel8/Dockerfile
@@ -17,10 +17,11 @@ ENV PATH /usr/local/go/bin:$PATH
17
18
WORKDIR /work
19
20
-RUN git clone https://github.com/NVIDIA/gpu-driver-container driver && \
+RUN if [ "$DRIVER_TYPE" = "vgpu" ]; then \
21
+ git clone https://github.com/NVIDIA/gpu-driver-container driver && \
22
cd driver/vgpu/src && \
23
go build -o vgpu-util && \
- mv vgpu-util /work
24
+ mv vgpu-util /work; fi
25
26
FROM ${BASE_IMAGE}
27
0 commit comments