Skip to content

Commit 46621fd

Browse files
author
Markus Perl
committed
Multiple packages updated
1 parent 83f71c2 commit 46621fd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

cuda-ubuntu.dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ RUN cd /code/cuda-samples/Samples/1_Utilities/deviceQuery && make && \
2727
mv deviceQuery /usr/local/bin && \
2828
rm -rf /code/cuda-samples
2929

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-
3330
WORKDIR /app
3431
COPY ./build-ffmpeg /app/build-ffmpeg
3532

@@ -42,6 +39,10 @@ ENV DEBIAN_FRONTEND=noninteractive
4239
ENV NVIDIA_VISIBLE_DEVICES=all
4340
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility,video
4441

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+
4546
# Copy libnpp
4647
COPY --from=build /usr/local/cuda-12.9/targets/x86_64-linux/lib/libnppc.so /lib/x86_64-linux-gnu/libnppc.so.12
4748
COPY --from=build /usr/local/cuda-12.9/targets/x86_64-linux/lib/libnppig.so /lib/x86_64-linux-gnu/libnppig.so.12

0 commit comments

Comments
 (0)