Update Dockerfile

This commit is contained in:
hexeth 2022-10-07 14:57:06 -07:00 committed by GitHub
parent a84bdc16de
commit 1eeb47fde3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,7 @@ ARG DESTDIR
WORKDIR /tmp/amd WORKDIR /tmp/amd
RUN apk add xf86-video-amdgpu linux-firmware-amdgpu --no-cache --update-cache \ RUN apk add xf86-video-amdgpu linux-firmware-amdgpu --no-cache --update-cache \
&& apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/testing libva-utils \ && apk add --no-cache -X http://dl-cdn.alpinelinux.org/alpine/edge/main libva-utils \
&& mkdir -p "$OUTPUT/usr/bin" \ && mkdir -p "$OUTPUT/usr/bin" \
&& cp -a /usr/bin/vainfo "$OUTPUT/usr/bin" \ && cp -a /usr/bin/vainfo "$OUTPUT/usr/bin" \
&& mkdir -p "$OUTPUT/usr/lib" \ && mkdir -p "$OUTPUT/usr/lib" \
@ -41,8 +41,8 @@ RUN apk add xf86-video-amdgpu linux-firmware-amdgpu --no-cache --update-cache \
&& cp -a /usr/lib/libva*.so* "$OUTPUT/usr/lib" \ && cp -a /usr/lib/libva*.so* "$OUTPUT/usr/lib" \
&& cp -a /usr/lib/libdrm*.so* "$OUTPUT/usr/lib" \ && cp -a /usr/lib/libdrm*.so* "$OUTPUT/usr/lib" \
&& cp -a /usr/lib/libbsd*.so* "$OUTPUT/usr/lib" \ && cp -a /usr/lib/libbsd*.so* "$OUTPUT/usr/lib" \
#&& cp -a /usr/lib/libxshmfence*.so* "$OUTPUT/usr/lib" \ && cp -a /usr/lib/libxshmfence*.so* "$OUTPUT/usr/lib" \
#&& cp -a /usr/lib/libkms*.so* "$OUTPUT/usr/lib" \ && cp -a /usr/lib/libkms*.so* "$OUTPUT/usr/lib" \
&& cp -a /usr/lib/libxcb*.so* "$OUTPUT/usr/lib" \ && cp -a /usr/lib/libxcb*.so* "$OUTPUT/usr/lib" \
&& cp -a /usr/lib/libffi*.so* "$OUTPUT/usr/lib" \ && cp -a /usr/lib/libffi*.so* "$OUTPUT/usr/lib" \
&& cp -a /usr/lib/libLLVM*.so* "$OUTPUT/usr/lib" \ && cp -a /usr/lib/libLLVM*.so* "$OUTPUT/usr/lib" \