mirror of
https://github.com/linuxserver/docker-bazarr.git
synced 2026-02-20 01:02:49 +08:00
Merge pull request #2 from linuxserver/remove_deps
Bazarr now self contained
This commit is contained in:
commit
f1dbe3ccde
11
Dockerfile
11
Dockerfile
@ -7,13 +7,6 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
|
||||
LABEL maintainer="chbmb"
|
||||
|
||||
RUN \
|
||||
echo "**** install build packages ****" && \
|
||||
apk add --no-cache --virtual=build-dependencies \
|
||||
g++ \
|
||||
gcc \
|
||||
libffi-dev \
|
||||
python-dev \
|
||||
zlib-dev && \
|
||||
echo "**** install bazarr ****" && \
|
||||
BAZARR_VER=$(curl -sX GET "https://api.github.com/repos/morpheus65535/bazarr/releases/latest" \
|
||||
| awk '/tag_name/{print $4;exit}' FS='[""]') && \
|
||||
@ -25,10 +18,6 @@ RUN \
|
||||
tar xf \
|
||||
/tmp/bazarr.tar.gz -C \
|
||||
/app/bazarr --strip-components=1 && \
|
||||
pip install -r /app/bazarr/requirements.txt && \
|
||||
echo "**** cleanup ****" && \
|
||||
apk del --purge \
|
||||
build-dependencies && \
|
||||
rm -rf \
|
||||
/tmp/*
|
||||
|
||||
|
||||
@ -10,13 +10,6 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
|
||||
LABEL maintainer="chbmb"
|
||||
|
||||
RUN \
|
||||
echo "**** install build packages ****" && \
|
||||
apk add --no-cache --virtual=build-dependencies \
|
||||
g++ \
|
||||
gcc \
|
||||
libffi-dev \
|
||||
python-dev \
|
||||
zlib-dev && \
|
||||
echo "**** install bazarr ****" && \
|
||||
BAZARR_VER=$(curl -sX GET "https://api.github.com/repos/morpheus65535/bazarr/releases/latest" \
|
||||
| awk '/tag_name/{print $4;exit}' FS='[""]') && \
|
||||
@ -28,10 +21,6 @@ RUN \
|
||||
tar xf \
|
||||
/tmp/bazarr.tar.gz -C \
|
||||
/app/bazarr --strip-components=1 && \
|
||||
pip install -r /app/bazarr/requirements.txt && \
|
||||
echo "**** cleanup ****" && \
|
||||
apk del --purge \
|
||||
build-dependencies && \
|
||||
rm -rf \
|
||||
/tmp/*
|
||||
|
||||
|
||||
@ -10,13 +10,6 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
|
||||
LABEL maintainer="chbmb"
|
||||
|
||||
RUN \
|
||||
echo "**** install build packages ****" && \
|
||||
apk add --no-cache --virtual=build-dependencies \
|
||||
g++ \
|
||||
gcc \
|
||||
libffi-dev \
|
||||
python-dev \
|
||||
zlib-dev && \
|
||||
echo "**** install bazarr ****" && \
|
||||
BAZARR_VER=$(curl -sX GET "https://api.github.com/repos/morpheus65535/bazarr/releases/latest" \
|
||||
| awk '/tag_name/{print $4;exit}' FS='[""]') && \
|
||||
@ -28,10 +21,6 @@ RUN \
|
||||
tar xf \
|
||||
/tmp/bazarr.tar.gz -C \
|
||||
/app/bazarr --strip-components=1 && \
|
||||
pip install -r /app/bazarr/requirements.txt && \
|
||||
echo "**** cleanup ****" && \
|
||||
apk del --purge \
|
||||
build-dependencies && \
|
||||
rm -rf \
|
||||
/tmp/*
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user