File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ ARG PGVERSION=14
8
8
ARG DEBIAN_FRONTEND=noninteractive
9
9
ARG PACKAGE_VERSION=2.0.0
10
10
ARG PACKAGE_PYTHON=true
11
- ARG PACKAGE_CUDA=true
11
+ ARG PACKAGE_CUDA=false
12
12
ENV TZ=Etc/UTC
13
13
14
14
# Apt-fast
@@ -30,7 +30,6 @@ RUN echo "deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https:
30
30
RUN apt-get update && apt-fast install postgresql-${PGVERSION} libopenblas-dev cmake postgresql-server-dev-${PGVERSION} pkg-config libssl-dev build-essential libclang-dev clang libpython3-dev python3-dev -y
31
31
32
32
# CUDA
33
- # ARM64
34
33
COPY docker/install_cuda.sh install_cuda.sh
35
34
RUN bash install_cuda.sh
36
35
Original file line number Diff line number Diff line change 10
10
fi
11
11
12
12
# ARM
13
- if [[ ${ARCH} == " aarch64 " ]]; then
14
- wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204 /sbsa/cuda-keyring_1.0-1_all.deb
13
+ if [[ ${ARCH} == " arm64 " ]]; then
14
+ wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu ${UBUNTU_VERSION // .} /sbsa/cuda-keyring_1.0-1_all.deb
15
15
fi
16
16
17
17
# Intel
18
18
if [[ ${ARCH} == " amd64" ]]; then
19
- wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204 /x86_64/cuda-keyring_1.0-1_all.deb
19
+ wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu ${UBUNTU_VERSION // .} /x86_64/cuda-keyring_1.0-1_all.deb
20
20
fi
21
21
22
22
dpkg -i cuda-keyring_1.0-1_all.deb
You can’t perform that action at this time.
0 commit comments