diff --git a/Dockerfile b/Dockerfile index b0093dc..d911f01 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ ARG OUTPUT=/output -FROM alpine:edge AS builder +FROM alpine:3.16 AS builder RUN apk add --no-cache \ autoconf \ automake \ @@ -14,7 +14,6 @@ RUN apk add --no-cache \ git \ libtool \ linux-headers \ - libdrm \ make \ musl-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/libdrm*.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/libxcb*.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/libxml2*.so* "$OUTPUT/usr/lib" \ && 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" \ && cp -a /usr/share/libdrm/* "$OUTPUT/usr/share/libdrm" \ && cp -a /lib/ld-musl-x86_64.so.1 "$OUTPUT/usr/lib" \