mirror of
https://github.com/linuxserver/docker-emby.git
synced 2026-02-20 02:14:58 +08:00
handle tmp folders runtime
This commit is contained in:
parent
5dc95053d8
commit
32d699edf2
@ -21,7 +21,6 @@ RUN \
|
||||
mkdir -p \
|
||||
/app/emby \
|
||||
/tmpnetcore && \
|
||||
chmod go+w /tmpnetcore && \
|
||||
if [ -z ${EMBY_RELEASE+x} ]; then \
|
||||
EMBY_RELEASE=$(curl -s https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest \
|
||||
| jq -r '. | .tag_name'); \
|
||||
|
||||
@ -27,7 +27,6 @@ RUN \
|
||||
mkdir -p \
|
||||
/app/emby \
|
||||
/tmpnetcore && \
|
||||
chmod go+w /tmpnetcore && \
|
||||
if [ -z ${EMBY_RELEASE+x} ]; then \
|
||||
EMBY_RELEASE=$(curl -s https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest \
|
||||
| jq -r '. | .tag_name'); \
|
||||
|
||||
@ -27,7 +27,6 @@ RUN \
|
||||
mkdir -p \
|
||||
/app/emby \
|
||||
/tmpnetcore && \
|
||||
chmod go+w /tmpnetcore && \
|
||||
if [ -z ${EMBY_RELEASE+x} ]; then \
|
||||
EMBY_RELEASE=$(curl -s https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest \
|
||||
| jq -r '. | .tag_name'); \
|
||||
|
||||
@ -10,7 +10,8 @@ PUID=${PUID:-911}
|
||||
if [ -d /config/config ] && [ ! "$(stat -c %u /config/config)" = "$PUID" ]; then
|
||||
echo "Change in ownership detected, please be patient while we chown existing files"
|
||||
echo "This could take some time"
|
||||
chown abc:abc -R \
|
||||
lsiown abc:abc -R \
|
||||
/config
|
||||
fi
|
||||
lsiown -R abc:abc /tmp/.dotnet
|
||||
lsiown abc:abc /tmpnetcore
|
||||
chmod 777 /tmp/{.dotnet,.dotnet/shm}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user