Skip to content

Commit 0de56b2

Browse files
authored
Update Dockerfile
1 parent 61aab15 commit 0de56b2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@ ARG UBUNTU_VERSION=22.04
22

33
FROM ubuntu:$UBUNTU_VERSION as build
44

5-
RUN apt-get update && apt-get install -y build-essential git cmake libgomp1 ccache
5+
RUN apt-get update && apt-get install -y build-essential git cmake nvidia-cuda-toolkit ccache
66

77
WORKDIR /sd.cpp
88

99
COPY . .
1010
RUN git submodule update --init --recursive
1111

12-
RUN mkdir build && cd build && cmake .. -DSD_CUDA=ON && cmake --build . --config Release
12+
RUN mkdir build && cd build
13+
RUN cmake .. -DSD_CUDA=ON
14+
RUN cmake --build . --config Release
1315

1416
FROM ubuntu:$UBUNTU_VERSION as runtime
1517

0 commit comments

Comments
 (0)