From 7ca769a024efa7b38ff990d2bd30f8595c66cc48 Mon Sep 17 00:00:00 2001 From: aptalca Date: Mon, 17 Dec 2018 14:13:53 -0500 Subject: [PATCH] Create Dockerfile.armhf --- Dockerfile.armhf | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 Dockerfile.armhf diff --git a/Dockerfile.armhf b/Dockerfile.armhf new file mode 100644 index 0000000..75d5949 --- /dev/null +++ b/Dockerfile.armhf @@ -0,0 +1,45 @@ +FROM lsiobase/ubuntu.armhf:bionic + +# Add qemu to build on x86_64 systems +COPY qemu-arm-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.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