Update Dockerfile

This commit is contained in:
hexeth 2022-10-07 18:19:49 -07:00 committed by GitHub
parent 38acf35ba2
commit f115361f5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,5 @@
ARG OUTPUT=/output ARG OUTPUT=/output
FROM alpine:edge AS builder FROM alpine:3.16 AS builder
RUN apk add --no-cache \ RUN apk add --no-cache \
autoconf \ autoconf \
automake \ automake \
@ -14,7 +14,6 @@ RUN apk add --no-cache \
git \ git \
libtool \ libtool \
linux-headers \ linux-headers \
libdrm \
make \ make \
musl-dev \ musl-dev \
nghttp2-dev \ nghttp2-dev \
@ -42,7 +41,7 @@ RUN ls -a /usr/lib && apk add xf86-video-amdgpu linux-firmware-amdgpu --no-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" \
@ -55,7 +54,7 @@ RUN ls -a /usr/lib && apk add xf86-video-amdgpu linux-firmware-amdgpu --no-cache
&& cp -a /usr/lib/libmd*.so* "$OUTPUT/usr/lib" \ && cp -a /usr/lib/libmd*.so* "$OUTPUT/usr/lib" \
&& cp -a /usr/lib/libxml2*.so* "$OUTPUT/usr/lib" \ && cp -a /usr/lib/libxml2*.so* "$OUTPUT/usr/lib" \
&& mkdir -p "$OUTPUT/usr/lib/dri" \ && mkdir -p "$OUTPUT/usr/lib/dri" \
#&& cp -a /usr/lib/dri/*.so* "$OUTPUT/usr/lib/dri" \ && cp -a /usr/lib/dri/*.so* "$OUTPUT/usr/lib/dri" \
&& mkdir -p "$OUTPUT/usr/share/libdrm" \ && mkdir -p "$OUTPUT/usr/share/libdrm" \
&& cp -a /usr/share/libdrm/* "$OUTPUT/usr/share/libdrm" \ && cp -a /usr/share/libdrm/* "$OUTPUT/usr/share/libdrm" \
&& cp -a /lib/ld-musl-x86_64.so.1 "$OUTPUT/usr/lib" \ && cp -a /lib/ld-musl-x86_64.so.1 "$OUTPUT/usr/lib" \