File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,10 @@ RUN cd /code/cuda-samples/Samples/1_Utilities/deviceQuery && make
25
25
# Move deviceQuery binary to path
26
26
RUN mv /code/cuda-samples/Samples/1_Utilities/deviceQuery/deviceQuery /usr/local/bin
27
27
28
+ # Cleanup Image
29
+ RUN cd /opt && find . -maxdepth 1 -mindepth 1 '!' -path ./containerd '!' -path ./actionarchivecache '!' -path ./runner '!' -path ./runner-cache -exec rm -rf '{}' ';'
30
+
31
+
28
32
WORKDIR /app
29
33
COPY ./build-ffmpeg /app/build-ffmpeg
30
34
@@ -42,11 +46,11 @@ RUN apt-get update \
42
46
&& apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
43
47
44
48
# Copy libnpp
45
- COPY --from=build /usr/local/cuda-12.6 /targets/x86_64-linux/lib/libnppc.so /lib/x86_64-linux-gnu/libnppc.so.12
46
- COPY --from=build /usr/local/cuda-12.6 /targets/x86_64-linux/lib/libnppig.so /lib/x86_64-linux-gnu/libnppig.so.12
47
- COPY --from=build /usr/local/cuda-12.6 /targets/x86_64-linux/lib/libnppicc.so /lib/x86_64-linux-gnu/libnppicc.so.12
48
- COPY --from=build /usr/local/cuda-12.6 /targets/x86_64-linux/lib/libnppidei.so /lib/x86_64-linux-gnu/libnppidei.so.12
49
- COPY --from=build /usr/local/cuda-12.6 /targets/x86_64-linux/lib/libnppif.so /lib/x86_64-linux-gnu/libnppif.so.12
49
+ COPY --from=build /usr/local/cuda-12.9 /targets/x86_64-linux/lib/libnppc.so /lib/x86_64-linux-gnu/libnppc.so.12
50
+ COPY --from=build /usr/local/cuda-12.9 /targets/x86_64-linux/lib/libnppig.so /lib/x86_64-linux-gnu/libnppig.so.12
51
+ COPY --from=build /usr/local/cuda-12.9 /targets/x86_64-linux/lib/libnppicc.so /lib/x86_64-linux-gnu/libnppicc.so.12
52
+ COPY --from=build /usr/local/cuda-12.9 /targets/x86_64-linux/lib/libnppidei.so /lib/x86_64-linux-gnu/libnppidei.so.12
53
+ COPY --from=build /usr/local/cuda-12.9 /targets/x86_64-linux/lib/libnppif.so /lib/x86_64-linux-gnu/libnppif.so.12
50
54
51
55
# Copy ffmpeg
52
56
COPY --from=build /app/workspace/bin/ffmpeg /usr/bin/ffmpeg
You can’t perform that action at this time.
0 commit comments