Files
docker-transmission/Dockerfile.aarch64

59 lines
1.3 KiB
Docker
Raw Normal View History

2020-06-02 07:27:58 +02:00
FROM lsiobase/alpine:arm64v8-3.12
# set version label
ARG BUILD_DATE
ARG VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
2020-03-30 10:31:23 -04:00
LABEL maintainer="aptalca"
RUN \
echo "**** install packages ****" && \
apk add --no-cache \
curl \
findutils \
jq \
openssl \
p7zip \
2020-06-02 07:27:58 +02:00
python3 \
rsync \
tar \
transmission-cli \
transmission-daemon \
unrar \
unzip && \
echo "**** install third party themes ****" && \
curl -o \
/tmp/combustion.zip -L \
"https://github.com/Secretmapper/combustion/archive/release.zip" && \
unzip \
/tmp/combustion.zip -d \
/ && \
mkdir -p /tmp/twctemp && \
TWCVERSION=$(curl -sX GET "https://api.github.com/repos/ronggang/transmission-web-control/releases/latest" \
| awk '/tag_name/{print $4;exit}' FS='[""]') && \
curl -o \
/tmp/twc.tar.gz -L \
"https://github.com/ronggang/transmission-web-control/archive/${TWCVERSION}.tar.gz" && \
tar xf \
/tmp/twc.tar.gz -C \
/tmp/twctemp --strip-components=1 && \
mv /tmp/twctemp/src /transmission-web-control && \
2019-06-17 08:49:12 -07:00
mkdir -p /kettu && \
2019-06-16 12:21:55 +03:00
curl -o \
/tmp/kettu.tar.gz -L \
"https://github.com/endor/kettu/archive/master.tar.gz" && \
tar xf \
/tmp/kettu.tar.gz -C \
2019-06-17 08:49:12 -07:00
/kettu --strip-components=1 && \
echo "**** cleanup ****" && \
rm -rf \
/tmp/*
# copy local files
COPY root/ /
# ports and volumes
EXPOSE 9091 51413
VOLUME /config /downloads /watch