mirror of
https://github.com/linuxserver/docker-bazarr.git
synced 2025-06-28 09:40:14 -04:00
Build unrar
This commit is contained in:
parent
e6b1700282
commit
fb42b51f41
3 changed files with 33 additions and 0 deletions
11
Dockerfile
11
Dockerfile
|
@ -31,6 +31,17 @@ RUN \
|
|||
py3-pip \
|
||||
python3 \
|
||||
unzip && \
|
||||
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 bazarr ****" && \
|
||||
if [ -z ${BAZARR_VERSION+x} ]; then \
|
||||
BAZARR_VERSION=$(curl -sX GET "https://api.github.com/repos/morpheus65535/bazarr/releases/latest" \
|
||||
|
|
|
@ -31,6 +31,17 @@ RUN \
|
|||
py3-pip \
|
||||
python3 \
|
||||
unzip && \
|
||||
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 bazarr ****" && \
|
||||
if [ -z ${BAZARR_VERSION+x} ]; then \
|
||||
BAZARR_VERSION=$(curl -sX GET "https://api.github.com/repos/morpheus65535/bazarr/releases/latest" \
|
||||
|
|
|
@ -31,6 +31,17 @@ RUN \
|
|||
py3-pip \
|
||||
python3 \
|
||||
unzip && \
|
||||
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 bazarr ****" && \
|
||||
if [ -z ${BAZARR_VERSION+x} ]; then \
|
||||
BAZARR_VERSION=$(curl -sX GET "https://api.github.com/repos/morpheus65535/bazarr/releases/latest" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue