-
-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from linuxserver/pipeline
Rebase to bionic, add multi-arch
- Loading branch information
Showing
5 changed files
with
730 additions
and
26 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,65 @@ | ||
FROM lsiobase/ubuntu.arm64:bionic | ||
|
||
# Add qemu to build on x86_64 systems | ||
COPY qemu-aarch64-static /usr/bin | ||
|
||
# set version label | ||
ARG BUILD_DATE | ||
ARG VERSION | ||
ARG DELUGE_VERSION | ||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}" | ||
LABEL maintainer="sparklyballs, aptalca" | ||
|
||
# environment variables | ||
ENV PYTHON_EGG_CACHE="/config/plugins/.python-eggs" | ||
|
||
# install software | ||
RUN \ | ||
echo "**** install packages ****" && \ | ||
apt-get update && \ | ||
apt-get install -y \ | ||
deluged \ | ||
deluge-web \ | ||
p7zip \ | ||
unrar \ | ||
unzip \ | ||
libssl1.0.0 \ | ||
openssl && \ | ||
echo "**** install build deps ****" && \ | ||
apt-get install -y \ | ||
libssl-dev \ | ||
python-dev \ | ||
build-essential \ | ||
libffi-dev \ | ||
python-pip && \ | ||
echo "**** install pip packages ****" && \ | ||
pip install --no-cache-dir -U \ | ||
incremental \ | ||
crypto \ | ||
mako \ | ||
markupsafe \ | ||
pyopenssl \ | ||
service_identity \ | ||
six \ | ||
twisted \ | ||
zope.interface && \ | ||
echo "**** cleanup ****" && \ | ||
apt-get purge -y \ | ||
libssl-dev \ | ||
python-dev \ | ||
build-essential \ | ||
libffi-dev \ | ||
python-pip && \ | ||
apt-get --purge autoremove -y && \ | ||
apt-get clean && \ | ||
rm -rf \ | ||
/tmp/* \ | ||
/var/lib/apt/lists/* \ | ||
/var/tmp/* | ||
|
||
# add local files | ||
COPY root/ / | ||
|
||
# ports and volumes | ||
EXPOSE 8112 58846 58946 58946/udp | ||
VOLUME /config /downloads |
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,65 @@ | ||
FROM lsiobase/ubuntu.armhf:bionic | ||
|
||
# Add qemu to build on x86_64 systems | ||
COPY qemu-arm-static /usr/bin | ||
|
||
# set version label | ||
ARG BUILD_DATE | ||
ARG VERSION | ||
ARG DELUGE_VERSION | ||
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}" | ||
LABEL maintainer="sparklyballs, aptalca" | ||
|
||
# environment variables | ||
ENV PYTHON_EGG_CACHE="/config/plugins/.python-eggs" | ||
|
||
# install software | ||
RUN \ | ||
echo "**** install packages ****" && \ | ||
apt-get update && \ | ||
apt-get install -y \ | ||
deluged \ | ||
deluge-web \ | ||
p7zip \ | ||
unrar \ | ||
unzip \ | ||
libssl1.0.0 \ | ||
openssl && \ | ||
echo "**** install build deps ****" && \ | ||
apt-get install -y \ | ||
libssl-dev \ | ||
python-dev \ | ||
build-essential \ | ||
libffi-dev \ | ||
python-pip && \ | ||
echo "**** install pip packages ****" && \ | ||
pip install --no-cache-dir -U \ | ||
incremental \ | ||
crypto \ | ||
mako \ | ||
markupsafe \ | ||
pyopenssl \ | ||
service_identity \ | ||
six \ | ||
twisted \ | ||
zope.interface && \ | ||
echo "**** cleanup ****" && \ | ||
apt-get purge -y \ | ||
libssl-dev \ | ||
python-dev \ | ||
build-essential \ | ||
libffi-dev \ | ||
python-pip && \ | ||
apt-get --purge autoremove -y && \ | ||
apt-get clean && \ | ||
rm -rf \ | ||
/tmp/* \ | ||
/var/lib/apt/lists/* \ | ||
/var/tmp/* | ||
|
||
# add local files | ||
COPY root/ / | ||
|
||
# ports and volumes | ||
EXPOSE 8112 58846 58946 58946/udp | ||
VOLUME /config /downloads |
Oops, something went wrong.