Skip to content

Commit

Permalink
Merge pull request #72 from linuxserver/master-wheel
Browse files Browse the repository at this point in the history
Use prebuilt wheels
  • Loading branch information
aptalca authored May 17, 2021
2 parents eca0756 + f76c17e commit ca1a6a9
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ RUN \
echo "**** install build packages ****" && \
apk add --no-cache --virtual=build-dependencies \
build-base \
cargo \
g++ \
gcc \
jq \
Expand Down Expand Up @@ -46,13 +47,15 @@ RUN \
rm -Rf /app/bazarr/bin/bin && \
echo "UpdateMethod=docker\nBranch=master\nPackageVersion=${VERSION}\nPackageAuthor=[linuxserver.io](https://linuxserver.io)" > /app/bazarr/package_info && \
echo "**** Install requirements ****" && \
pip3 install --no-cache-dir -U -r \
pip3 install -U --no-cache-dir pip && \
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine/ -r \
/app/bazarr/bin/requirements.txt && \
echo "**** clean up ****" && \
apk del --purge \
build-dependencies && \
rm -rf \
/root/.cache \
/root/.cargo \
/tmp/*

# add local files
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ RUN \
echo "**** install build packages ****" && \
apk add --no-cache --virtual=build-dependencies \
build-base \
cargo \
g++ \
gcc \
jq \
Expand Down Expand Up @@ -46,13 +47,15 @@ RUN \
rm -Rf /app/bazarr/bin/bin && \
echo "UpdateMethod=docker\nBranch=master\nPackageVersion=${VERSION}\nPackageAuthor=[linuxserver.io](https://linuxserver.io)" > /app/bazarr/package_info && \
echo "**** Install requirements ****" && \
pip3 install --no-cache-dir -U -r \
pip3 install -U --no-cache-dir pip && \
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine/ -r \
/app/bazarr/bin/requirements.txt && \
echo "**** clean up ****" && \
apk del --purge \
build-dependencies && \
rm -rf \
/root/.cache \
/root/.cargo \
/tmp/*

# add local files
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile.armhf
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ RUN \
echo "**** install build packages ****" && \
apk add --no-cache --virtual=build-dependencies \
build-base \
cargo \
g++ \
gcc \
jq \
Expand Down Expand Up @@ -46,13 +47,15 @@ RUN \
rm -Rf /app/bazarr/bin/bin && \
echo "UpdateMethod=docker\nBranch=master\nPackageVersion=${VERSION}\nPackageAuthor=[linuxserver.io](https://linuxserver.io)" > /app/bazarr/package_info && \
echo "**** Install requirements ****" && \
pip3 install --no-cache-dir -U -r \
pip3 install -U --no-cache-dir pip && \
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine/ -r \
/app/bazarr/bin/requirements.txt && \
echo "**** clean up ****" && \
apk del --purge \
build-dependencies && \
rm -rf \
/root/.cache \
/root/.cargo \
/tmp/*

# add local files
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64

## Versions

* **16.05.21:** - Use wheel index.
* **19.04.21:** - Install from release zip.
* **07.04.21:** - Move app to /app/bazarr/bin, add `package_info`.
* **23.01.21:** - Rebasing to alpine 3.13.
Expand Down
1 change: 1 addition & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ app_setup_block: |
# changelog
changelogs:
- { date: "16.05.21:", desc: "Use wheel index." }
- { date: "19.04.21:", desc: "Install from release zip." }
- { date: "07.04.21:", desc: "Move app to /app/bazarr/bin, add `package_info`." }
- { date: "23.01.21:", desc: "Rebasing to alpine 3.13." }
Expand Down

0 comments on commit ca1a6a9

Please sign in to comment.