File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
root/etc/s6-overlay/s6-rc.d/init-mod-transmission-floodui-install Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
22
3- FROM ghcr.io/linuxserver/baseimage-alpine:3.17 as buildstage
3+ FROM ghcr.io/linuxserver/baseimage-alpine:3.19 as buildstage
44
55ARG MOD_VERSION
66
1616 mkdir -p /root-layer/themes/flood-for-transmission && \
1717 tar xzf \
1818 /tmp/flood.tar.gz -C \
19- /root-layer/themes/flood-for-transmission --strip-components=1
19+ /root-layer/themes/flood-for-transmission --strip-components=1 && \
20+ ln -s /config/themes/flood-for-transmission/config.json /root-layer/themes/flood-for-transmission/config.json
2021
2122# copy local files
2223COPY root/ /root-layer/
Original file line number Diff line number Diff line change 11#!/usr/bin/with-contenv bash
22# shellcheck shell=bash
33
4+ mkdir -p /config/themes/flood-for-transmission
5+ if [ ! -f /config/themes/flood-for-transmission/config.json ]; then
6+ cp /themes/flood-for-transmission/config.json.defaults /config/themes/flood-for-transmission/config.json
7+ fi
8+ # Keep an up-to-date copy of the defaults in case there are breaking changes to the config.json and the user needs to manually update
9+ cp /themes/flood-for-transmission/config.json.defaults /config/themes/flood-for-transmission/config.json.defaults
10+
411printf "/themes/flood-for-transmission" > /var/run/s6/container_environment/TRANSMISSION_WEB_HOME
512
6- lsiown -R abc:abc /themes
13+ lsiown -R abc:abc \
14+ /themes \
15+ /config/themes/flood-for-transmission
You can’t perform that action at this time.
0 commit comments