From ae618a81ea42dde4ad267c195106e9763702108c Mon Sep 17 00:00:00 2001 From: RandomNinjaAtk Date: Thu, 26 Jan 2023 16:36:03 -0500 Subject: [PATCH] Create arm64v8.dockerfile --- arm64v8.dockerfile | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 arm64v8.dockerfile diff --git a/arm64v8.dockerfile b/arm64v8.dockerfile new file mode 100644 index 0000000..dcc6df0 --- /dev/null +++ b/arm64v8.dockerfile @@ -0,0 +1,31 @@ +FROM alpine AS builder + +# Download QEMU, see https://github.com/docker/hub-feedback/issues/1261 +ENV QEMU_URL https://github.com/balena-io/qemu/releases/download/v3.0.0%2Bresin/qemu-3.0.0+resin-aarch64.tar.gz +RUN apk add curl && curl -L ${QEMU_URL} | tar zxvf - -C . --strip-components 1 + +FROM linuxserver/readarr:arm64v8-latest + +# Add QEMU +COPY --from=builder qemu-aarch64-static /usr/bin + +LABEL maintainer="RandomNinjaAtk" + +ENV TITLE="Readarr Extended" +ENV VERSION="1.0.00001" + +RUN \ + echo "************ install and update packages ************" && \ + apk add -U --update --no-cache \ + jq \ + ffmpeg + +# copy local files +#COPY root/ / + +# set work directory +WORKDIR /config + +# ports and volumes +EXPOSE 8787 +VOLUME /config