-
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adding pipeline logic and multi arching
- Loading branch information
Showing
7 changed files
with
884 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
FROM lsiobase/alpine.python:3.8 | ||
|
||
# Add qemu to build on x86_64 systems | ||
COPY qemu-aarch64-static /usr/bin | ||
|
||
# set version label | ||
ARG BUILD_DATE | ||
ARG VERSION | ||
ARG TAUTULLI_RELEASE | ||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}" | ||
LABEL maintainer="sparklyballs" | ||
|
||
RUN \ | ||
echo "**** install packages ****" && \ | ||
apk add --no-cache --virtual=build-dependencies \ | ||
g++ \ | ||
gcc \ | ||
make \ | ||
python-dev && \ | ||
echo "**** install pip packages ****" && \ | ||
pip install --no-cache-dir -U \ | ||
plexapi \ | ||
pycryptodomex && \ | ||
echo "**** install app ****" && \ | ||
mkdir -p /app/tautulli && \ | ||
if [ -z ${TAUTULLI_RELEASE+x} ]; then \ | ||
TAUTULLI_RELEASE=$(curl -sX GET "https://api.github.com/repos/Tautulli/Tautulli/releases/latest" \ | ||
| awk '/tag_name/{print $4;exit}' FS='[""]'); \ | ||
fi && \ | ||
curl -o \ | ||
/tmp/tautulli.tar.gz -L \ | ||
"https://github.com/Tautulli/Tautulli/archive/${TAUTULLI_RELEASE}.tar.gz" && \ | ||
tar xf \ | ||
/tmp/tautulli.tar.gz -C \ | ||
/app/tautulli --strip-components=1 && \ | ||
echo "**** cleanup ****" && \ | ||
apk del --purge \ | ||
build-dependencies && \ | ||
rm -rf \ | ||
/root/.cache \ | ||
/tmp/* | ||
|
||
# add local files | ||
COPY root/ / | ||
|
||
# ports and volumes | ||
VOLUME /config /logs | ||
EXPOSE 8181 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
FROM lsiobase/alpine.python.armhf:3.8 | ||
|
||
# Add qemu to build on x86_64 systems | ||
COPY qemu-arm-static /usr/bin | ||
|
||
# set version label | ||
ARG BUILD_DATE | ||
ARG VERSION | ||
ARG TAUTULLI_RELEASE | ||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}" | ||
LABEL maintainer="sparklyballs" | ||
|
||
RUN \ | ||
echo "**** install packages ****" && \ | ||
apk add --no-cache --virtual=build-dependencies \ | ||
g++ \ | ||
gcc \ | ||
make \ | ||
python-dev && \ | ||
echo "**** install pip packages ****" && \ | ||
pip install --no-cache-dir -U \ | ||
plexapi \ | ||
pycryptodomex && \ | ||
echo "**** install app ****" && \ | ||
mkdir -p /app/tautulli && \ | ||
if [ -z ${TAUTULLI_RELEASE+x} ]; then \ | ||
TAUTULLI_RELEASE=$(curl -sX GET "https://api.github.com/repos/Tautulli/Tautulli/releases/latest" \ | ||
| awk '/tag_name/{print $4;exit}' FS='[""]'); \ | ||
fi && \ | ||
curl -o \ | ||
/tmp/tautulli.tar.gz -L \ | ||
"https://github.com/Tautulli/Tautulli/archive/${TAUTULLI_RELEASE}.tar.gz" && \ | ||
tar xf \ | ||
/tmp/tautulli.tar.gz -C \ | ||
/app/tautulli --strip-components=1 && \ | ||
echo "**** cleanup ****" && \ | ||
apk del --purge \ | ||
build-dependencies && \ | ||
rm -rf \ | ||
/root/.cache \ | ||
/tmp/* | ||
|
||
# add local files | ||
COPY root/ / | ||
|
||
# ports and volumes | ||
VOLUME /config /logs | ||
EXPOSE 8181 |
Oops, something went wrong.