File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ RUN <<EOT bash
3232 if [ "${BUILD_TYPE}" = "vulkan" ] && [ "${SKIP_DRIVERS}" = "false" ]; then
3333 apt-get update && \
3434 apt-get install -y --no-install-recommends \
35- software-properties-common pciutils wget gpg-agent curl xz-utils && \
35+ software-properties-common pciutils sudo wget gpg-agent curl xz-utils && \
3636 echo "vulkan" > /run/localai/capability && \
3737 if [ "amd64" = "$TARGETARCH" ]; then
3838 wget -qO - https://packages.lunarg.com/lunarg-signing-key-pub.asc | apt-key add - && \
@@ -49,6 +49,7 @@ RUN <<EOT bash
4949 tar -xJf vulkan-sdk.tar.xz && \
5050 rm vulkan-sdk.tar.xz && \
5151 cd * && \
52+ sed -i 's/apt-get install/apt-get install -y/' vulkansdk && \
5253 ./vulkansdk -j 1 && \
5354 cd ../.. && \
5455 rm -rf vulkan
You can’t perform that action at this time.
0 commit comments