From 9fc24e941fcdfa79d7b699b82fb57b3ae5e3d634 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6?= Date: Fri, 27 May 2022 16:05:36 +0200 Subject: [PATCH] Init Dockerfile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ --- Dockerfile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..fa882e9 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,22 @@ +from ghcr.io/linuxserver/plex:latest + +RUN \ + echo "**** install runtime packages ****" && \ + apt-get update && \ + apt-get install -y software-properties-common && \ + add-apt-repository ppa:oibaf/graphics-drivers -y && \ + apt-get update && \ + apt-get install -y \ + vainfo \ + mesa-va-drivers \ + mesa-vdpau-drivers \ + libdrm-amdgpu1 \ + libavutil56 && \ +apt-get clean + +RUN cp /lib/x86_64-linux-gnu/dri/* /usr/lib/plexmediaserver/lib/dri/ +RUN cp /lib/x86_64-linux-gnu/libdrm_amdgpu.so.1.* /usr/lib/plexmediaserver/lib/libdrm_amdgpu.so.1 +RUN cp /lib/x86_64-linux-gnu/libdrm.so.2.* /usr/lib/plexmediaserver/lib/libdrm.so.2 +RUN cp /lib/x86_64-linux-gnu/libva-drm.so.2.* /usr/lib/plexmediaserver/lib/libva-drm.so.2 +RUN cp /lib/x86_64-linux-gnu/libva.so.2.* /usr/lib/plexmediaserver/lib/libva.so.2 +RUN cp /lib/x86_64-linux-gnu/libstdc++.so.6.* /usr/lib/plexmediaserver/lib/libstdc++.so.6