-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1212 from anarkiwi/nv2
Use common nvidia dependency installer.
- Loading branch information
Showing
5 changed files
with
18 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,17 +49,12 @@ LABEL maintainer="Charlie Lewis <[email protected]>" | |
ENV DEBIAN_FRONTEND noninteractive | ||
ENV UHD_IMAGES_DIR /usr/share/uhd/images | ||
ENV PATH="${PATH}:/root/.local/bin" | ||
WORKDIR /root | ||
COPY bin/install-nv.sh /root | ||
RUN mkdir -p /data/gamutrf | ||
# install nvidia's vulkan support if x86. | ||
# hadolint ignore=DL3008 | ||
RUN if [ "$(arch)" = "x86_64" ] ; then \ | ||
apt-get update && \ | ||
apt-get install -y --no-install-recommends ca-certificates dirmngr gpg-agent gpg wget && \ | ||
apt-key adv --fetch-keys "https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/$(arch)/3bf863cc.pub" && \ | ||
echo "deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/$(arch)/ /" | tee /etc/apt/sources.list.d/nvidia.list && \ | ||
apt-get update && \ | ||
apt-get install -y --no-install-recommends libnvidia-gl-550 ; \ | ||
fi && \ | ||
RUN if [ "$(arch)" = "x86_64" ] ; then /root/install-nv.sh ; fi && \ | ||
apt-get update && apt-get install -y --no-install-recommends \ | ||
ca-certificates \ | ||
libblas3 \ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
set -e | ||
apt-get update && \ | ||
apt-get install -y --no-install-recommends ca-certificates dirmngr gpg-agent gpg wget && \ | ||
apt-key adv --fetch-keys "https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/$(arch)/3bf863cc.pub" && \ | ||
echo "deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/$(arch)/ /" | tee /etc/apt/sources.list.d/nvidia.list && \ | ||
apt-get update && \ | ||
apt-get install -y --no-install-recommends libnvidia-gl-550 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters