We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61aab15 commit 0de56b2Copy full SHA for 0de56b2
Dockerfile
@@ -2,14 +2,16 @@ ARG UBUNTU_VERSION=22.04
2
3
FROM ubuntu:$UBUNTU_VERSION as build
4
5
-RUN apt-get update && apt-get install -y build-essential git cmake libgomp1 ccache
+RUN apt-get update && apt-get install -y build-essential git cmake nvidia-cuda-toolkit ccache
6
7
WORKDIR /sd.cpp
8
9
COPY . .
10
RUN git submodule update --init --recursive
11
12
-RUN mkdir build && cd build && cmake .. -DSD_CUDA=ON && cmake --build . --config Release
+RUN mkdir build && cd build
13
+RUN cmake .. -DSD_CUDA=ON
14
+RUN cmake --build . --config Release
15
16
FROM ubuntu:$UBUNTU_VERSION as runtime
17
0 commit comments