File tree Expand file tree Collapse file tree 1 file changed +18
-2
lines changed
Expand file tree Collapse file tree 1 file changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,26 @@ RUN tar -zxvf kindlegen.tar.gz kindlegen
1010RUN chmod +rwx 'kindlegen'
1111RUN rm kindlegen.tar.gz
1212
13+
14+ RUN \
15+ echo "**** grab transmissionic ****" && \
16+ mkdir -p /root-layer/themes && \
17+ if [ -z ${MOD_VERSION+x} ]; then \
18+ MOD_VERSION=$(curl -s "https://api.github.com/repos/6c65726f79/Transmissionic/releases/latest" \
19+ | jq -rc ".tag_name" ); \
20+ fi && \
21+ curl -o \
22+ /tmp/transmissionic.zip -L \
23+ "https://github.com/6c65726f79/Transmissionic/releases/download/${MOD_VERSION}/Transmissionic-webui-${MOD_VERSION}.zip" && \
24+ unzip \
25+ /tmp/transmissionic.zip -d \
26+ /root-layer/themes && \
27+ mv /root-layer/themes/web /root-layer/themes/transmissionic
1328RUN \
1429 if [ -z ${MOD_VERSION+x} ]; then \
15- MOD_VERSION=$(curl -s https://api.github.com/repos/ciromattia/kcc/releases/latest | jq -rc ".tag_name" ); \
16- fi; \
30+ MOD_VERSION=$(curl -s "https://api.github.com/repos/ciromattia/kcc/releases/latest" \
31+ | jq -rc ".tag_name" ); \
32+ fi && \
1733 curl -L https://github.com/ciromattia/kcc/archive/refs/tags/${MOD_VERSION}.tar.gz > kcc.tar.gz && \
1834 tar -xzf kcc.tar.gz && \
1935 mv kcc-$(echo "${MOD_VERSION}" | sed 's/^.\( .*\) /\1 /' ) kcc && \
You can’t perform that action at this time.
0 commit comments