Skip to content

Commit

Permalink
Fix newlines in vulkan config file
Browse files Browse the repository at this point in the history
  • Loading branch information
j3soon committed Sep 15, 2024
1 parent e2f10c4 commit 7db2704
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ RUN apt-get update && apt-get install -y \
libgl1 vulkan-tools \
&& rm -rf /var/lib/apt/lists/*

RUN echo '{ \
"file_format_version" : "1.0.0", \
"ICD": { \
"library_path": "libGLX_nvidia.so.0", \
"api_version" : "1.3.194" \
} \
}' | tee /etc/vulkan/icd.d/nvidia_icd.json
RUN cat > /etc/vulkan/icd.d/nvidia_icd.json <<EOF
{
"file_format_version" : "1.0.0",
"ICD": {
"library_path": "libGLX_nvidia.so.0",
"api_version" : "1.3.194"
}
}
EOF

0 comments on commit 7db2704

Please sign in to comment.