Skip to content

Commit

Permalink
lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
anarkiwi committed Oct 25, 2023
1 parent 085d7b2 commit 61780f3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,11 @@ ENV UHD_IMAGES_DIR /usr/share/uhd/images
ENV PATH="${PATH}:/root/.local/bin"
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 && \
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-545 ; \
Expand Down
3 changes: 2 additions & 1 deletion docker/Dockerfile.vkfft
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ RUN CMAKE_BUILD_TYPE=Release cmake -DGLSLANG_GIT_TAG=13.0.0 .. && make -j "$(npr

FROM ubuntu:22.04
# TODO: ideally, should be packaged such that cmake can find it.
# 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 && \
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-545 ; \
Expand Down

0 comments on commit 61780f3

Please sign in to comment.