Skip to content

Commit

Permalink
Merge pull request #132 from linuxserver/develop-package
Browse files Browse the repository at this point in the history
rely on upstream python packages instead of pip install
  • Loading branch information
aptalca authored Nov 18, 2024
2 parents 0d7eadb + 7cbad04 commit 86eddf6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 30 deletions.
17 changes: 2 additions & 15 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ LABEL maintainer="nemchik,thelamer"
ENV TAUTULLI_DOCKER=True

RUN \
echo "**** install build packages ****" && \
apk add --no-cache --virtual=build-dependencies \
build-base \
cargo \
python3-dev && \
echo "**** install packages ****" && \
apk add --no-cache \
git \
Expand All @@ -41,23 +36,15 @@ RUN \
pip \
wheel && \
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.20/ \
apscheduler \
cryptography \
pycryptodomex \
pyopenssl && \
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.20/ \
-r requirements.txt && \
-r https://raw.githubusercontent.com/Tautulli/tautulli-baseimage/refs/heads/python3/requirements.txt && \
echo "**** Hard Coding versioning ****" && \
echo "${TAUTULLI_COMMIT}" > /app/tautulli/version.txt && \
echo "nightly" > /app/tautulli/branch.txt && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
echo "**** cleanup ****" && \
apk del --purge \
build-dependencies && \
rm -rf \
/tmp/* \
$HOME/.cache \
$HOME/.cargo
$HOME/.cache

# add local files
COPY root/ /
Expand Down
17 changes: 2 additions & 15 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@ LABEL maintainer="nemchik,thelamer"
ENV TAUTULLI_DOCKER=True

RUN \
echo "**** install build packages ****" && \
apk add --no-cache --virtual=build-dependencies \
build-base \
cargo \
python3-dev && \
echo "**** install packages ****" && \
apk add --no-cache \
git \
Expand All @@ -41,23 +36,15 @@ RUN \
pip \
wheel && \
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.20/ \
apscheduler \
cryptography \
pycryptodomex \
pyopenssl && \
pip install -U --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.20/ \
-r requirements.txt && \
-r https://raw.githubusercontent.com/Tautulli/tautulli-baseimage/refs/heads/python3/requirements.txt && \
echo "**** Hard Coding versioning ****" && \
echo "${TAUTULLI_COMMIT}" > /app/tautulli/version.txt && \
echo "nightly" > /app/tautulli/branch.txt && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
echo "**** cleanup ****" && \
apk del --purge \
build-dependencies && \
rm -rf \
/tmp/* \
$HOME/.cache \
$HOME/.cargo
$HOME/.cache

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

## Versions

* **18.11.24:** - Use upstream python packages.
* **01.06.24:** - Rebase to Alpine 3.20.
* **23.12.23:** - Rebase to Alpine 3.19.
* **25.05.23:** - Rebase to Alpine 3.18, deprecate armhf.
Expand Down
1 change: 1 addition & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ app_setup_block: |
# changelog
changelogs:
- { date: "18.11.24:", desc: "Use upstream python packages."}
- { date: "01.06.24:", desc: "Rebase to Alpine 3.20."}
- { date: "23.12.23:", desc: "Rebase to Alpine 3.19."}
- { date: "25.05.23:", desc: "Rebase to Alpine 3.18, deprecate armhf." }
Expand Down

0 comments on commit 86eddf6

Please sign in to comment.