docker-plex-wireguard/Dockerfile.aarch64
Ryan Kuba 88765a032a Pipeline hw (#150)
* adding multi arch logic and pipeline, first version of included hardware accel info, pulling debs from new endpoint

* removing web screenshotting from ci process

* adding update logic for arm variants and templating readme file

* Adding nvidia environment variables

* Adding information on nvidia container runtime

* updating pipeline logic to use static endpoint and disabling updates on those branches

* bug bashing escape characters in jenkins logic

* remove avahi service that is no longer needed by plex

* set new artifact download location
2019-02-06 20:16:30 +00:00

54 lines
1.5 KiB
Text
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

FROM lsiobase/ubuntu.arm64:bionic
# Add qemu to build on x86_64 systems
COPY qemu-aarch64-static /usr/bin
# set version label
ARG BUILD_DATE
ARG VERSION
ARG PLEX_RELEASE
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="sparklyballs, thelamer"
# global environment settings
ENV DEBIAN_FRONTEND="noninteractive" \
PLEX_MEDIA_SERVER_APPLICATION_SUPPORT_DIR="/config/Library/Application Support" \
PLEX_MEDIA_SERVER_HOME="/usr/lib/plexmediaserver" \
PLEX_MEDIA_SERVER_INFO_DEVICE=docker \
PLEX_MEDIA_SERVER_MAX_PLUGIN_PROCS="6" \
PLEX_MEDIA_SERVER_USER=abc
RUN \
echo "**** install runtime packages ****" && \
apt-get update && \
apt-get install -y \
udev \
unrar \
wget \
jq && \
echo "**** Udevadm hack ****" && \
mv /sbin/udevadm /sbin/udevadm.bak && \
echo "exit 0" > /sbin/udevadm && \
chmod +x /sbin/udevadm && \
echo "**** install plex ****" && \
curl -o \
/tmp/plexmediaserver.deb -L \
"https://downloads.plex.tv/plex-media-server-new/1.15.0.647-67e950f12/debian/plexmediaserver_1.15.0.647-67e950f12_arm64.deb" && \
dpkg -i /tmp/plexmediaserver.deb && \
mv /sbin/udevadm.bak /sbin/udevadm && \
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/*
# add local files
COPY root/ /
# ports and volumes
EXPOSE 32400 32400/udp 32469 32469/udp 5353/udp 1900/udp
VOLUME /config /transcode