docker-plex-amd (latest)
Published 2023-07-22 10:19:22 -05:00 by kaan
Installation
docker pull gitea.bgenc.net/kaan/docker-plex-amd:latest
sha256:065e1a34a74b102bbe7b83ef374eb671182e8f1bf2c3349d69f016f21adc1504
About this package
[Plex](https://plex.tv) organizes video, music and photos from personal media libraries and streams them to smart TVs, streaming boxes and mobile devices. This container is packaged as a standalone Plex Media Server. has always been a top priority. Straightforward design and bulk actions mean getting things done faster.
Image Layers
COPY /root-out/ / # buildkit |
ARG BUILD_DATE |
ARG VERSION |
ARG MODS_VERSION=v3 |
LABEL build_version=Linuxserver.io version:- f70266cb-ls68 Build-date:- 2023-05-02T23:28:58+00:00 |
LABEL maintainer=TheLamer |
ADD https://raw.githubusercontent.com/linuxserver/docker-mods/mod-scripts/docker-mods.v3 /docker-mods # buildkit |
ARG DEBIAN_FRONTEND=noninteractive |
ENV HOME=/root LANGUAGE=en_US.UTF-8 LANG=en_US.UTF-8 TERM=xterm S6_CMD_WAIT_FOR_SERVICES_MAXTIME=0 S6_VERBOSITY=1 S6_STAGE2_HOOK=/docker-mods |
COPY sources.list /etc/apt/ # buildkit |
RUN |4 BUILD_DATE=2023-05-02T23:28:58+00:00 VERSION=f70266cb-ls68 MODS_VERSION=v3 DEBIAN_FRONTEND=noninteractive /bin/sh -c echo "**** Ripped from Ubuntu Docker Logic ****" && set -xe && echo '#!/bin/sh' > /usr/sbin/policy-rc.d && echo 'exit 101' >> /usr/sbin/policy-rc.d && chmod +x /usr/sbin/policy-rc.d && dpkg-divert --local --rename --add /sbin/initctl && cp -a /usr/sbin/policy-rc.d /sbin/initctl && sed -i 's/^exit.*/exit 0/' /sbin/initctl && echo 'force-unsafe-io' > /etc/dpkg/dpkg.cfg.d/docker-apt-speedup && echo 'DPkg::Post-Invoke { "rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true"; };' > /etc/apt/apt.conf.d/docker-clean && echo 'APT::Update::Post-Invoke { "rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true"; };' >> /etc/apt/apt.conf.d/docker-clean && echo 'Dir::Cache::pkgcache ""; Dir::Cache::srcpkgcache "";' >> /etc/apt/apt.conf.d/docker-clean && echo 'Acquire::Languages "none";' > /etc/apt/apt.conf.d/docker-no-languages && echo 'Acquire::GzipIndexes "true"; Acquire::CompressionTypes::Order:: "gz";' > /etc/apt/apt.conf.d/docker-gzip-indexes && echo 'Apt::AutoRemove::SuggestsImportant "false";' > /etc/apt/apt.conf.d/docker-autoremove-suggests && mkdir -p /run/systemd && echo 'docker' > /run/systemd/container && echo "**** install apt-utils and locales ****" && apt-get update && apt-get install -y apt-utils locales && echo "**** install packages ****" && apt-get install -y curl gnupg jq netcat tzdata && echo "**** generate locale ****" && locale-gen en_US.UTF-8 && echo "**** create abc user and make our folders ****" && useradd -u 911 -U -d /config -s /bin/false abc && usermod -G users abc && mkdir -p /app /config /defaults && echo "**** cleanup ****" && apt-get autoremove && apt-get clean && rm -rf /tmp/* /var/lib/apt/lists/* /var/tmp/* /var/log/* # buildkit |
COPY root/ / # buildkit |
ENTRYPOINT ["/init"] |
ENV LSIO_FIRST_PARTY=true |
ARG BUILD_DATE |
ARG VERSION |
ARG PLEX_RELEASE |
LABEL build_version=Linuxserver.io version:- 1.32.1.6999-91e1e2e2c-ls167 Build-date:- 2023-05-08T16:34:02+00:00 |
LABEL maintainer=thelamer |
ENV NVIDIA_DRIVER_CAPABILITIES=compute,video,utility |
ENV DEBIAN_FRONTEND=noninteractive PLEX_DOWNLOAD=https://downloads.plex.tv/plex-media-server-new PLEX_ARCH=amd64 PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR=/config/Library/Application Support PLEX_MEDIA_SERVER_HOME=/usr/lib/plexmediaserver PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS=6 PLEX_MEDIA_SERVER_USER=abc PLEX_MEDIA_SERVER_INFO_VENDOR=Docker PLEX_MEDIA_SERVER_INFO_DEVICE=Docker Container (LinuxServer.io) |
RUN |3 BUILD_DATE=2023-05-08T16:34:02+00:00 VERSION=1.32.1.6999-91e1e2e2c-ls167 PLEX_RELEASE=1.32.1.6999-91e1e2e2c /bin/sh -c echo "**** install runtime packages ****" && apt-get update && apt-get install -y jq udev unrar wget && echo "**** install plex ****" && if [ -z ${PLEX_RELEASE+x} ]; then PLEX_RELEASE=$(curl -sX GET 'https://plex.tv/api/downloads/5.json' | jq -r '.computer.Linux.version'); fi && curl -o /tmp/plexmediaserver.deb -L "${PLEX_DOWNLOAD}/${PLEX_RELEASE}/debian/plexmediaserver_${PLEX_RELEASE}_${PLEX_ARCH}.deb" && dpkg -i /tmp/plexmediaserver.deb && echo "**** ensure abc user's home folder is /app ****" && usermod -d /app abc && echo "**** cleanup ****" && apt-get clean && rm -rf /etc/default/plexmediaserver /tmp/* /var/lib/apt/lists/* /var/tmp/* # buildkit |
COPY root/ / # buildkit |
EXPOSE map[1900/udp:{} 3005/tcp:{} 32400/tcp:{} 32410/udp:{} 32412/udp:{} 32413/udp:{} 32414/udp:{} 32469/tcp:{} 5353/udp:{} 8324/tcp:{}] |
VOLUME [/config] |
ARG OUTPUT |
RUN |1 OUTPUT=/output /bin/sh -c 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 # buildkit |
COPY /output/usr/lib/dri/*.so* /usr/lib/plexmediaserver/lib/dri/ # buildkit |
COPY /output/usr/lib/ld-musl-x86_64.so* /usr/lib/plexmediaserver/lib/ # buildkit |
COPY /output/usr/lib/libdrm*.so* /usr/lib/plexmediaserver/lib/ # buildkit |
COPY /output/usr/lib/libelf*.so* /usr/lib/plexmediaserver/lib/ # buildkit |
COPY /output/usr/lib/libffi*.so* /usr/lib/plexmediaserver/lib/ # buildkit |
COPY /output/usr/lib/libgcc_s*.so* /usr/lib/plexmediaserver/lib/ # buildkit |
COPY /output/usr/lib/libkms*.so* /usr/lib/plexmediaserver/lib/ # buildkit |
COPY /output/usr/lib/libLLVM*.so* /usr/lib/plexmediaserver/lib/ # buildkit |
COPY /output/usr/lib/libstdc++*.so* /usr/lib/plexmediaserver/lib/ # buildkit |
COPY /output/usr/lib/libva*.so* /usr/lib/plexmediaserver/lib/ # buildkit |
COPY /output/usr/lib/libxml2*.so* /usr/lib/plexmediaserver/lib/ # buildkit |
COPY /output/usr/lib/libz*.so.* /usr/lib/plexmediaserver/lib/ # buildkit |
COPY /output/usr/lib/libzstd*.so* /usr/lib/plexmediaserver/lib/ # buildkit |
Labels
Key | Value |
---|---|
build_version | Linuxserver.io version:- 1.32.1.6999-91e1e2e2c-ls167 Build-date:- 2023-05-08T16:34:02+00:00 |
maintainer | thelamer |
org.opencontainers.image.authors | linuxserver.io |
org.opencontainers.image.created | 2023-05-08T16:34:02+00:00 |
org.opencontainers.image.description | [Plex](https://plex.tv) organizes video, music and photos from personal media libraries and streams them to smart TVs, streaming boxes and mobile devices. This container is packaged as a standalone Plex Media Server. has always been a top priority. Straightforward design and bulk actions mean getting things done faster. |
org.opencontainers.image.documentation | https://docs.linuxserver.io/images/docker-plex |
org.opencontainers.image.licenses | GPL-3.0-only |
org.opencontainers.image.ref.name | 3acca9037ba77d4260af2d0749a9b2100b48d9a3 |
org.opencontainers.image.revision | 3acca9037ba77d4260af2d0749a9b2100b48d9a3 |
org.opencontainers.image.source | https://github.com/linuxserver/docker-plex |
org.opencontainers.image.title | Plex |
org.opencontainers.image.url | https://github.com/linuxserver/docker-plex/packages |
org.opencontainers.image.vendor | linuxserver.io |
org.opencontainers.image.version | 1.32.1.6999-91e1e2e2c-ls167 |