Init Dockerfile

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ 2022-05-27 16:05:36 +02:00
commit 9fc24e941f
No known key found for this signature in database
GPG key ID: 60C25B8C072916CF

22
Dockerfile Normal file
View file

@ -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