From 0b059f25358cb29cda5b2ee5244653971202f5d2 Mon Sep 17 00:00:00 2001 From: aptalca Date: Mon, 17 Dec 2018 14:36:36 -0500 Subject: [PATCH] Create Dockerfile.aarch64 --- Dockerfile.aarch64 | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Dockerfile.aarch64 diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 new file mode 100644 index 0000000..6fd6fea --- /dev/null +++ b/Dockerfile.aarch64 @@ -0,0 +1,45 @@ +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 OMBI_RELEASE +LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}" +LABEL maintainer="sparklyballs" + +# environment settings +ENV HOME="/config" + +RUN \ + apt-get update && \ + apt-get install -y \ + libcurl3 \ + libicu55 \ + libunwind8 && \ + echo "**** install ombi ****" && \ + mkdir -p \ + /opt/ombi && \ + if [ -z ${OMBI_RELEASE+x} ]; then \ + OMBI_RELEASE=$(curl -sX GET "https://api.github.com/repos/tidusjar/Ombi/releases/latest" \ + | awk '/tag_name/{print $4;exit}' FS='[""]') \ + fi && \ + curl -o \ + /tmp/ombi-src.tar.gz -L \ + "https://github.com/tidusjar/Ombi/releases/download/${OMBI_RELEASE}/linux-arm64.tar.gz" && \ + tar xzf /tmp/ombi-src.tar.gz -C \ + /opt/ombi/ && \ + chmod +x /opt/ombi/Ombi && \ + echo "**** clean up ****" && \ + rm -rf \ + /tmp/* \ + /var/lib/apt/lists/* \ + /var/tmp/* + +# add local files +COPY /root / + +# ports and volumes +EXPOSE 3579