File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -27,9 +27,6 @@ RUN cd /code/cuda-samples/Samples/1_Utilities/deviceQuery && make && \
27
27
mv deviceQuery /usr/local/bin && \
28
28
rm -rf /code/cuda-samples
29
29
30
- # Cleanup Image
31
- RUN rm -rf /opt/hostedtoolcache && cd /opt && find . -maxdepth 1 -mindepth 1 '!' -path ./containerd '!' -path ./actionarchivecache '!' -path ./runner '!' -path ./runner-cache -exec rm -rf '{}' ';'
32
-
33
30
WORKDIR /app
34
31
COPY ./build-ffmpeg /app/build-ffmpeg
35
32
@@ -42,6 +39,10 @@ ENV DEBIAN_FRONTEND=noninteractive
42
39
ENV NVIDIA_VISIBLE_DEVICES=all
43
40
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility,video
44
41
42
+ # Cleanup Image
43
+ RUN rm -rf /opt/hostedtoolcache && cd /opt && find . -maxdepth 1 -mindepth 1 '!' -path ./containerd '!' -path ./actionarchivecache '!' -path ./runner '!' -path ./runner-cache -exec rm -rf '{}' ';'
44
+
45
+
45
46
# Copy libnpp
46
47
COPY --from=build /usr/local/cuda-12.9/targets/x86_64-linux/lib/libnppc.so /lib/x86_64-linux-gnu/libnppc.so.12
47
48
COPY --from=build /usr/local/cuda-12.9/targets/x86_64-linux/lib/libnppig.so /lib/x86_64-linux-gnu/libnppig.so.12
You can’t perform that action at this time.
0 commit comments