mirror of
https://github.com/linuxserver/docker-sickchill.git
synced 2026-02-20 01:01:06 +08:00
install unrar from lsio repo
This commit is contained in:
parent
72528a9ad6
commit
dbf0773355
17
Dockerfile
17
Dockerfile
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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)"}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user