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 @@ -31,7 +31,7 @@ RUN <<EOT bash
3131 if [ "${BUILD_TYPE}" = "vulkan" ] && [ "${SKIP_DRIVERS}" = "false" ]; then
3232 apt-get update && \
3333 apt-get install -y --no-install-recommends \
34- software-properties-common pciutils wget gpg-agent curl xz-utils && \
34+ software-properties-common pciutils sudo wget gpg-agent curl xz-utils && \
3535 echo "vulkan" > /run/localai/capability && \
3636 if [ "amd64" = "$TARGETARCH" ]; then
3737 wget -qO - https://packages.lunarg.com/lunarg-signing-key-pub.asc | apt-key add - && \
@@ -48,6 +48,7 @@ RUN <<EOT bash
4848 tar -xJf vulkan-sdk.tar.xz && \
4949 rm vulkan-sdk.tar.xz && \
5050 cd * && \
51+ sed -i 's/apt-get install/apt-get install -y/' vulkansdk && \
5152 ./vulkansdk -j 1 && \
5253 cd ../.. && \
5354 rm -rf vulkan
You can’t perform that action at this time.
0 commit comments