From 0fc558be66e62c1bb8b8fab60caef6ca663b9cb2 Mon Sep 17 00:00:00 2001 From: Dulanic <2948206+Dulanic@users.noreply.github.com> Date: Wed, 14 Nov 2018 12:19:25 -0600 Subject: [PATCH 1/6] Update Dockerfile Update to link files for original UI option /w twc. --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 5a67645a5..56948b942 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,6 +19,10 @@ RUN apt-get update \ && rm release.zip \ && wget https://github.com/ronggang/twc-release/raw/master/src.tar.gz \ && mkdir /opt/transmission-ui/transmission-web-control \ + && ln -s /usr/share/transmission/web/style /opt/transmission-ui/transmission-web-control \ + && ln -s /usr/share/transmission/web/images /opt/transmission-ui/transmission-web-control \ + && ln -s /usr/share/transmission/web/javascript /opt/transmission-ui/transmission-web-control \ + && ln -s /usr/share/transmission/web/index.html /opt/transmission-ui/transmission-web-control \ && tar -xvf src.tar.gz -C /opt/transmission-ui/transmission-web-control/ \ && rm src.tar.gz \ && git clone git://github.com/endor/kettu.git /opt/transmission-ui/kettu \ From 020a4857a37665889cab69d536dcee0ce80bc246 Mon Sep 17 00:00:00 2001 From: Dulanic <2948206+Dulanic@users.noreply.github.com> Date: Wed, 14 Nov 2018 12:20:31 -0600 Subject: [PATCH 2/6] Update Dockerfile.alpine Add links for wtc to allow original ui button to function. --- Dockerfile.alpine | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile.alpine b/Dockerfile.alpine index 8df898a8c..fec4cd23b 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -18,6 +18,10 @@ RUN echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/ap && echo "Install Transmission-Web-Control" \ && mkdir /opt/transmission-ui/transmission-web-control \ && wget -qO- https://github.com/ronggang/twc-release/raw/master/src.tar.gz | tar xz -C /opt/transmission-ui/transmission-web-control \ + && ln -s /usr/share/transmission/web/style /opt/transmission-ui/transmission-web-control \ + && ln -s /usr/share/transmission/web/images /opt/transmission-ui/transmission-web-control \ + && ln -s /usr/share/transmission/web/javascript /opt/transmission-ui/transmission-web-control \ + && ln -s /usr/share/transmission/web/index.html /opt/transmission-ui/transmission-web-control \ && rm -rf /tmp/* /var/tmp/* \ && groupmod -g 1000 users \ && useradd -u 911 -U -d /config -s /bin/false abc \ From b981557fdbaee17259fdf3fe5483960336bc7994 Mon Sep 17 00:00:00 2001 From: Dulanic <2948206+Dulanic@users.noreply.github.com> Date: Wed, 14 Nov 2018 12:22:14 -0600 Subject: [PATCH 3/6] Update Dockerfile.armhf Add links so twc classic ui button works. --- Dockerfile.armhf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile.armhf b/Dockerfile.armhf index be21da6a4..ee3edf00e 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -17,6 +17,10 @@ RUN apt-get update \ && mkdir /opt/transmission-ui/transmission-web-control \ && curl -L https://github.com/ronggang/twc-release/raw/master/src.tar.gz \ | tar -C /opt/transmission-ui/transmission-web-control/ -xzv \ + && ln -s /usr/share/transmission/web/style /opt/transmission-ui/transmission-web-control \ + && ln -s /usr/share/transmission/web/images /opt/transmission-ui/transmission-web-control \ + && ln -s /usr/share/transmission/web/javascript /opt/transmission-ui/transmission-web-control \ + && ln -s /usr/share/transmission/web/index.html /opt/transmission-ui/transmission-web-control \ && apt-get purge git unzip \ && apt-get autoremove --purge \ && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \ From ee287b319e3f470ec7c43a75f98b27a671bc49d3 Mon Sep 17 00:00:00 2001 From: Dulanic <2948206+Dulanic@users.noreply.github.com> Date: Wed, 14 Nov 2018 12:52:35 -0600 Subject: [PATCH 4/6] Update Dockerfile --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 56948b942..39e85bf02 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,7 +22,7 @@ RUN apt-get update \ && ln -s /usr/share/transmission/web/style /opt/transmission-ui/transmission-web-control \ && ln -s /usr/share/transmission/web/images /opt/transmission-ui/transmission-web-control \ && ln -s /usr/share/transmission/web/javascript /opt/transmission-ui/transmission-web-control \ - && ln -s /usr/share/transmission/web/index.html /opt/transmission-ui/transmission-web-control \ + && ln -s /usr/share/transmission/web/index.html /opt/transmission-ui/transmission-web-control/index.original.html \ && tar -xvf src.tar.gz -C /opt/transmission-ui/transmission-web-control/ \ && rm src.tar.gz \ && git clone git://github.com/endor/kettu.git /opt/transmission-ui/kettu \ From 4ae2994899e5bb1ba6ad36350944ac6a2bad1f4a Mon Sep 17 00:00:00 2001 From: Dulanic <2948206+Dulanic@users.noreply.github.com> Date: Wed, 14 Nov 2018 12:53:07 -0600 Subject: [PATCH 5/6] Update Dockerfile.alpine --- Dockerfile.alpine | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.alpine b/Dockerfile.alpine index fec4cd23b..d36bf27d3 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -21,7 +21,7 @@ RUN echo "@testing http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/ap && ln -s /usr/share/transmission/web/style /opt/transmission-ui/transmission-web-control \ && ln -s /usr/share/transmission/web/images /opt/transmission-ui/transmission-web-control \ && ln -s /usr/share/transmission/web/javascript /opt/transmission-ui/transmission-web-control \ - && ln -s /usr/share/transmission/web/index.html /opt/transmission-ui/transmission-web-control \ + && ln -s /usr/share/transmission/web/index.html /opt/transmission-ui/transmission-web-control/index.original.html \ && rm -rf /tmp/* /var/tmp/* \ && groupmod -g 1000 users \ && useradd -u 911 -U -d /config -s /bin/false abc \ From d5da0ab4061f839d65b34017d3c60f3fdf850ba3 Mon Sep 17 00:00:00 2001 From: Dulanic <2948206+Dulanic@users.noreply.github.com> Date: Wed, 14 Nov 2018 12:53:26 -0600 Subject: [PATCH 6/6] Update Dockerfile.armhf --- Dockerfile.armhf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.armhf b/Dockerfile.armhf index ee3edf00e..e553617ed 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -20,7 +20,7 @@ RUN apt-get update \ && ln -s /usr/share/transmission/web/style /opt/transmission-ui/transmission-web-control \ && ln -s /usr/share/transmission/web/images /opt/transmission-ui/transmission-web-control \ && ln -s /usr/share/transmission/web/javascript /opt/transmission-ui/transmission-web-control \ - && ln -s /usr/share/transmission/web/index.html /opt/transmission-ui/transmission-web-control \ + && ln -s /usr/share/transmission/web/index.html /opt/transmission-ui/transmission-web-control/index.original.html \ && apt-get purge git unzip \ && apt-get autoremove --purge \ && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \