Skip to content

Commit

Permalink
Merge pull request #3 from linuxserver-labs/APP_VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
thespad committed Jun 5, 2022
2 parents c9762de + 04ec33f commit 4df007c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM ghcr.io/linuxserver/baseimage-alpine:3.15

ARG BUILD_DATE
ARG VERSION
ARG PTS_VERSION
ARG APP_VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="aptalca"

Expand All @@ -20,12 +20,12 @@ RUN \
jq \
py3-pip && \
echo "**** install plextraktsync ****" && \
if [ -z "${PTS_VERSION}" ]; then \
PTS_VERSION=$(curl -sL "https://pypi.python.org/pypi/PlexTraktSync/json" | jq -r '. | .info.version'); \
if [ -z "${APP_VERSION}" ]; then \
APP_VERSION=$(curl -sL "https://pypi.python.org/pypi/PlexTraktSync/json" | jq -r '. | .info.version'); \
fi && \
pip3 install --no-cache-dir -U pip && \
pip install --no-cache-dir --find-links https://wheel-index.linuxserver.io/alpine-3.15/ \
PlexTraktSync==${PTS_VERSION} && \
PlexTraktSync==${APP_VERSION} && \
echo "**** clean up ****" && \
rm -rf \
/tmp/* \
Expand Down

0 comments on commit 4df007c

Please sign in to comment.