Skip to content

Commit

Permalink
Merge pull request #55 from linuxserver/pipeline
Browse files Browse the repository at this point in the history
Rebase to bionic, add multi-arch
  • Loading branch information
thelamer authored Nov 12, 2018
2 parents 51a7c41 + e9bd90c commit 675d609
Show file tree
Hide file tree
Showing 5 changed files with 730 additions and 26 deletions.
57 changes: 31 additions & 26 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,40 +1,37 @@
FROM lsiobase/alpine:edge
FROM lsiobase/ubuntu:bionic

# 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"
LABEL maintainer="sparklyballs, aptalca"

# environment variables
# environment variables
ENV PYTHON_EGG_CACHE="/config/plugins/.python-eggs"

# install software
RUN \
echo "**** install build packages ****" && \
apk add --no-cache --virtual=build-dependencies \
g++ \
gcc \
libffi-dev \
openssl-dev \
py2-pip \
python2-dev && \
echo "**** install runtime packages ****" && \
apk add --no-cache \
ca-certificates \
curl \
libressl2.7-libssl \
openssl \
echo "**** install packages ****" && \
apt-get update && \
apt-get install -y \
deluged \
deluge-web \
p7zip \
unrar \
unzip && \
apk add --no-cache \
--repository http://nl.alpinelinux.org/alpine/edge/testing \
deluge && \
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 \
pip && \
pip install --no-cache-dir -U \
crypto \
mako \
markupsafe \
Expand All @@ -44,10 +41,18 @@ RUN \
twisted \
zope.interface && \
echo "**** cleanup ****" && \
apk del --purge \
build-dependencies && \
apt-get purge -y \
libssl-dev \
python-dev \
build-essential \
libffi-dev \
python-pip && \
apt-get --purge autoremove -y && \
apt-get clean && \
rm -rf \
/root/.cache
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/*

# add local files
COPY root/ /
Expand Down
65 changes: 65 additions & 0 deletions Dockerfile.aarch64
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
65 changes: 65 additions & 0 deletions Dockerfile.armhf
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
Loading

0 comments on commit 675d609

Please sign in to comment.