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
31
31
if [ "${BUILD_TYPE}" = "vulkan" ] && [ "${SKIP_DRIVERS}" = "false" ]; then
32
32
apt-get update && \
33
33
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 && \
35
35
echo "vulkan" > /run/localai/capability && \
36
36
if [ "amd64" = "$TARGETARCH" ]; then
37
37
wget -qO - https://packages.lunarg.com/lunarg-signing-key-pub.asc | apt-key add - && \
@@ -48,6 +48,7 @@ RUN <<EOT bash
48
48
tar -xJf vulkan-sdk.tar.xz && \
49
49
rm vulkan-sdk.tar.xz && \
50
50
cd * && \
51
+ sed -i 's/apt-get install/apt-get install -y/' vulkansdk && \
51
52
./vulkansdk -j 1 && \
52
53
cd ../.. && \
53
54
rm -rf vulkan
You can’t perform that action at this time.
0 commit comments