Spaces:
Runtime error
Runtime error
Missing cmake
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
ARG UBUNTU_VERSION=
|
2 |
ARG CUDA_VERSION=12.3.1
|
3 |
ARG BASE_CUDA_DEV_CONTAINER=nvidia/cuda:${CUDA_VERSION}-devel-ubuntu${UBUNTU_VERSION}
|
4 |
ARG BASE_CUDA_RUN_CONTAINER=nvidia/cuda:${CUDA_VERSION}-runtime-ubuntu${UBUNTU_VERSION}
|
@@ -8,7 +8,7 @@ FROM ${BASE_CUDA_DEV_CONTAINER} as build
|
|
8 |
ARG CUDA_DOCKER_ARCH=all
|
9 |
|
10 |
RUN apt-get update && apt-get upgrade -y && \
|
11 |
-
apt-get install -y git build-essential gcc wget
|
12 |
|
13 |
WORKDIR /build
|
14 |
|
@@ -25,6 +25,8 @@ RUN mkdir build && \
|
|
25 |
cmake --build . --config Release
|
26 |
|
27 |
FROM ${BASE_CUDA_RUN_CONTAINER} as runtime
|
|
|
|
|
28 |
|
29 |
WORKDIR /app
|
30 |
|
|
|
1 |
+
ARG UBUNTU_VERSION=22.04
|
2 |
ARG CUDA_VERSION=12.3.1
|
3 |
ARG BASE_CUDA_DEV_CONTAINER=nvidia/cuda:${CUDA_VERSION}-devel-ubuntu${UBUNTU_VERSION}
|
4 |
ARG BASE_CUDA_RUN_CONTAINER=nvidia/cuda:${CUDA_VERSION}-runtime-ubuntu${UBUNTU_VERSION}
|
|
|
8 |
ARG CUDA_DOCKER_ARCH=all
|
9 |
|
10 |
RUN apt-get update && apt-get upgrade -y && \
|
11 |
+
apt-get install -y git build-essential gcc wget cmake
|
12 |
|
13 |
WORKDIR /build
|
14 |
|
|
|
25 |
cmake --build . --config Release
|
26 |
|
27 |
FROM ${BASE_CUDA_RUN_CONTAINER} as runtime
|
28 |
+
RUN apt-get update && apt-get upgrade -y && \
|
29 |
+
apt-get install -y wget
|
30 |
|
31 |
WORKDIR /app
|
32 |
|