install unrar from lsio repo

This commit is contained in:
aptalca 2023-10-07 22:04:47 -04:00
parent 72528a9ad6
commit dbf0773355
No known key found for this signature in database
GPG Key ID: BE36CFFB9FD85548
3 changed files with 11 additions and 24 deletions

View File

@ -1,9 +1,10 @@
# syntax=docker/dockerfile:1
FROM ghcr.io/linuxserver/unrar:latest as unrar
FROM ghcr.io/linuxserver/baseimage-alpine:3.18
# set version label
ARG UNRAR_VERSION=6.2.10
ARG BUILD_DATE
ARG VERSION
ARG SICKCHILL_VERSION
@ -30,17 +31,6 @@ RUN \
libssl1.1 \
libxslt \
python3 && \
echo "**** install unrar from source ****" && \
mkdir /tmp/unrar && \
curl -o \
/tmp/unrar.tar.gz -L \
"https://www.rarlab.com/rar/unrarsrc-${UNRAR_VERSION}.tar.gz" && \
tar xf \
/tmp/unrar.tar.gz -C \
/tmp/unrar --strip-components=1 && \
cd /tmp/unrar && \
make && \
install -v -m755 unrar /usr/local/bin && \
echo "**** install sickchill ****" && \
if [ -z ${SICKCHILL_VERSION+x} ]; then \
SICKCHILL_VERSION=$(curl -sL https://pypi.python.org/pypi/sickchill/json |jq -r '. | .info.version'); \
@ -63,6 +53,9 @@ RUN \
# copy local files
COPY root/ /
# add unrar
COPY --from=unrar /usr/bin/unrar-alpine /usr/bin/unrar
# ports and volumes
EXPOSE 8081
VOLUME /config

View File

@ -1,9 +1,10 @@
# syntax=docker/dockerfile:1
FROM ghcr.io/linuxserver/unrar:arm64v8-latest as unrar
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.18
# set version label
ARG UNRAR_VERSION=6.2.10
ARG BUILD_DATE
ARG VERSION
ARG SICKCHILL_VERSION
@ -30,17 +31,6 @@ RUN \
libssl1.1 \
libxslt \
python3 && \
echo "**** install unrar from source ****" && \
mkdir /tmp/unrar && \
curl -o \
/tmp/unrar.tar.gz -L \
"https://www.rarlab.com/rar/unrarsrc-${UNRAR_VERSION}.tar.gz" && \
tar xf \
/tmp/unrar.tar.gz -C \
/tmp/unrar --strip-components=1 && \
cd /tmp/unrar && \
make && \
install -v -m755 unrar /usr/local/bin && \
echo "**** install sickchill ****" && \
if [ -z ${SICKCHILL_VERSION+x} ]; then \
SICKCHILL_VERSION=$(curl -sL https://pypi.python.org/pypi/sickchill/json |jq -r '. | .info.version'); \
@ -63,6 +53,9 @@ RUN \
# copy local files
COPY root/ /
# add unrar
COPY --from=unrar /usr/bin/unrar-alpine /usr/bin/unrar
# ports and volumes
EXPOSE 8081
VOLUME /config

View File

@ -29,6 +29,7 @@ app_setup_block: |
Web interface is at `<your ip>:8081` , set paths for downloads, tv-shows to match docker mappings via the webui.
# changelog
changelogs:
- {date: "07.10.23:", desc: "Install unrar from [linuxserver repo](https://github.com/linuxserver/docker-unrar)."}
- {date: "10.08.23:", desc: "Bump unrar to 6.2.10."}
- {date: "12.07.23:", desc: "Rebase to alpine 3.18."}
- {date: "06.07.23:", desc: "Deprecate armhf. As announced [here](https://www.linuxserver.io/blog/a-farewell-to-arm-hf)"}