Skip to content

Commit 68e7f4c

Browse files
author
Markus Perl
committed
Multiple packages updated
1 parent 2edebf7 commit 68e7f4c

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

cuda-ubuntu.dockerfile

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility,video
1010
# Update package lists
1111
RUN apt-get update
1212
# Install required packages
13-
RUN apt-get -y --no-install-recommends install build-essential curl ca-certificates libva-dev \
13+
RUN apt-get -y --no-install-recommends install build-essential curl ca-certificates libva-dev libva-drm2 \
1414
python3 python-is-python3 ninja-build meson git curl
1515
# Clean up package cache and temporary files
1616
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
@@ -37,12 +37,8 @@ ENV NVIDIA_VISIBLE_DEVICES=all
3737
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility,video
3838

3939
# Cleanup Image
40-
RUN cd /opt && find . -maxdepth 1 -mindepth 1 '!' -path ./containerd '!' -path ./actionarchivecache '!' -path ./runner '!' -path ./runner-cache -exec rm -rf '{}' ';'
40+
RUN rm -rf /opt/hostedtoolcache && cd /opt && find . -maxdepth 1 -mindepth 1 '!' -path ./containerd '!' -path ./actionarchivecache '!' -path ./runner '!' -path ./runner-cache -exec rm -rf '{}' ';'
4141

42-
# install va-driver
43-
RUN apt-get update \
44-
&& apt-get -y install libva-drm2 \
45-
&& apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
4642

4743
# Copy libnpp
4844
COPY --from=build /usr/local/cuda-12.9/targets/x86_64-linux/lib/libnppc.so /lib/x86_64-linux-gnu/libnppc.so.12

0 commit comments

Comments
 (0)