Emby Media Browser for armhf arch. Based on Ubuntu 14.04.3 Trusty armhf image. Tested on Cubietruck. Run mkdir -p /var/lib/emby-server && chown 104:109 /var/lib/emby-server before first container start.
emby:latest contains cross-compiled ffmpeg packages from from mc3man repo emby:ffmpeg contains cross-compiled backported ffmpeg packages from Ubuntu Xenial
These packages could be found inside /tmp/deb directory.
Dockerfile:
FROM armv7/armhf-ubuntu:14.04.3
MAINTAINER kayrus
# Let the container know that there is no tty
ENV DEBIAN_FRONTEND noninteractive
# Set locale to UTF-8
ENV LANGUAGE en_US.UTF-8
ENV LANG en_US.UTF-8
RUN locale-gen en_US en_US.UTF-8
RUN update-locale LANG=en_US.UTF-8
RUN dpkg-reconfigure locales
RUN apt-mark hold initscripts udev plymouth mountall
RUN echo 'deb http://ports.ubuntu.com/ubuntu-ports/ trusty main universe multiverse restricted' > /etc/apt/sources.list
RUN echo 'deb http://ports.ubuntu.com/ubuntu-ports/ trusty-updates main universe multiverse restricted' >> /etc/apt/sources.list
RUN echo 'deb http://ports.ubuntu.com/ubuntu-ports/ trusty-security main restricted universe multiverse' >> /etc/apt/sources.list
# Update ubuntu
RUN apt-get -q update
RUN apt-get dist-upgrade -qy && apt-get install -y wget
# Add emby repo
RUN wget -qO - http://download.opensuse.org/repositories/home:emby/xUbuntu_14.04/Release.key | apt-key add -
RUN echo 'deb http://download.opensuse.org/repositories/home:/emby/xUbuntu_14.04/ /' > /etc/apt/sources.list.d/emby.list
RUN apt-get -q update
ADD *.deb /tmp/deb/
RUN dpkg -i /tmp/deb/*.deb || apt-get install -fy
RUN apt-get install -y mono-runtime libmono-cil-dev mono-devel mediainfo libembymagickwand-6.q8-2 libembymagickcore-6.q8-2
# Install emby server. You can set specific version here
RUN apt-get install -y emby-server
RUN apt-get clean -y && rm -rf /var/lib/apt/lists/* /var/cache/* /var/tmp/* /tmp/mono*
VOLUME ["/var/lib/emby-server","/media"]
# Default MB3 HTTP/tcp server port
EXPOSE 8096/tcp
# Default MB3 HTTPS/tcp server port
EXPOSE 8920/tcp
# UDP server port
EXPOSE 7359/udp
# ssdp port for UPnP / DLNA discovery
EXPOSE 1900/udp
ENTRYPOINT ["/usr/bin/emby-server","start"]
Systemd unit file:
[Unit]
Description=Emby Media Server
After=docker.service
Requires=docker.service
[Service]
Environment=MEDIA_LIB=/media
Environment=CONFIG_DIR=/var/lib/emby-server
Environment=EMBY_INT_PORT=8096
Environment=EMBY_EXT_PORT=8096
#Restart=always
#RestartSec=5
#Remove old Emby container
ExecStarPre=-/usr/bin/docker rm emby
ExecStart=/usr/bin/docker run --name emby --hostname arm-emby --rm -p ${EMBY_EXT_PORT}:${EMBY_INT_PORT} -v ${CONFIG_DIR}:/var/lib/emby-server -v ${MEDIA_LIB}:/media kayrus/emby
ExecStop=-/usr/bin/docker stop emby
[Install]
WantedBy=multi-user.target
Content type
Image
Digest
Size
258 MB
Last updated
about 10 years ago
docker pull kayrus/emby