initial version still having problems with armhf on qemu and real hardware

This commit is contained in:
thelamer
2019-05-30 22:05:50 -07:00
parent 3410e08919
commit 2d920e0cb1
16 changed files with 1849 additions and 367 deletions

56
Dockerfile.aarch64 Normal file
View File

@@ -0,0 +1,56 @@
FROM lsiobase/ubuntu:arm64v8-bionic
# set version label
ARG BUILD_DATE
ARG VERSION
ARG EMBY_RELEASE
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="thelamer"
#Add needed nvidia environment variables for https://github.com/NVIDIA/nvidia-docker
ENV NVIDIA_DRIVER_CAPABILITIES="compute,video,utility"
ENV DEBIAN_FRONTEND="noninteractive"
RUN \
echo "**** install packages ****" && \
apt-get update && \
apt-get install -y \
cpio \
jq \
rpm2cpio && \
echo "**** install emby ****" && \
mkdir -p \
/app/emby && \
if [ -z ${EMBY_RELEASE+x} ]; then \
EMBY_RELEASE=$(curl -s https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest \
| jq -r '. | .tag_name'); \
fi && \
curl -o \
/tmp/emby.rpm -L \
"https://github.com/MediaBrowser/Emby.Releases/releases/download/${EMBY_RELEASE}/emby-server-rpm_${EMBY_RELEASE}_aarch64.rpm" && \
cd /tmp && \
rpm2cpio emby.rpm \
| cpio -i --make-directories && \
mv -t \
/app/emby/ \
/tmp/opt/emby-server/system/* \
/tmp/opt/emby-server/lib/samba/* \
/tmp/opt/emby-server/lib/* \
/tmp/opt/emby-server/bin/ff* && \
echo "**** cleanup ****" && \
apt-get purge -y \
cpio \
jq \
rpm2cpio && \
apt-get autoremove -fy && \
rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/*
# add local files
COPY root/ /
# ports and volumes
EXPOSE 8096 8920
VOLUME /config /transcode