Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cuda-ubuntu.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility,video

RUN apt-get update \
&& apt-get -y --no-install-recommends install build-essential curl ca-certificates libva-dev \
python3 python-is-python3 ninja-build meson git curl \
python3 python-is-python3 ninja-build meson git curl cmake \
&& apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/* \
&& update-ca-certificates

# build and move deviceQuery to /usr/bin
RUN mkdir -p /code && \
git clone --depth 1 https://github.com/NVIDIA/cuda-samples.git /code/cuda-samples && \
cd /code/cuda-samples/Samples/1_Utilities/deviceQuery && \
make && \
cmake . && make && \
mv deviceQuery /usr/local/bin

WORKDIR /app
Expand Down