You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
832 B
35 lines
832 B
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-arm.tar.gz
|
|
RUN apk add curl && curl -L ${QEMU_URL} | tar zxvf - -C . --strip-components 1
|
|
|
|
FROM linuxserver/readarr:arm32v7-develop
|
|
|
|
# Add QEMU
|
|
COPY --from=builder qemu-arm-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 \
|
|
py3-pip && \
|
|
echo "************ install python packages ************" && \
|
|
pip install --upgrade --no-cache-dir -U \
|
|
yq
|
|
|
|
# copy local files
|
|
COPY root/ /
|
|
|
|
# set work directory
|
|
WORKDIR /config
|
|
|
|
# ports and volumes
|
|
EXPOSE 8787
|
|
VOLUME /config
|