mirror of
https://github.com/linuxserver/docker-emby.git
synced 2026-02-20 02:14:58 +08:00
try and fix dotnet tmp
This commit is contained in:
parent
bcfe5af8e6
commit
5dc95053d8
@ -19,7 +19,9 @@ ENV NVIDIA_DRIVER_CAPABILITIES="compute,video,utility"
|
||||
RUN \
|
||||
echo "**** install emby ****" && \
|
||||
mkdir -p \
|
||||
/app/emby && \
|
||||
/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'); \
|
||||
@ -37,8 +39,7 @@ RUN \
|
||||
/tmp/opt/emby-server/extra/lib/* && \
|
||||
echo "**** cleanup ****" && \
|
||||
rm -rf \
|
||||
/tmp/* && \
|
||||
chmod go+w /tmp
|
||||
/tmp/*
|
||||
|
||||
# add local files
|
||||
COPY root/ /
|
||||
|
||||
@ -25,7 +25,9 @@ RUN \
|
||||
libraspberrypi0 && \
|
||||
echo "**** install emby ****" && \
|
||||
mkdir -p \
|
||||
/app/emby && \
|
||||
/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'); \
|
||||
@ -45,8 +47,7 @@ RUN \
|
||||
rm -rf \
|
||||
/tmp/* \
|
||||
/var/lib/apt/lists/* \
|
||||
/var/tmp/* && \
|
||||
chmod go+w /tmp
|
||||
/var/tmp/*
|
||||
|
||||
# add local files
|
||||
COPY root/ /
|
||||
|
||||
@ -25,7 +25,9 @@ RUN \
|
||||
libraspberrypi0 && \
|
||||
echo "**** install emby ****" && \
|
||||
mkdir -p \
|
||||
/app/emby && \
|
||||
/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'); \
|
||||
@ -45,8 +47,7 @@ RUN \
|
||||
rm -rf \
|
||||
/tmp/* \
|
||||
/var/lib/apt/lists/* \
|
||||
/var/tmp/* && \
|
||||
chmod go+w /tmp
|
||||
/var/tmp/*
|
||||
|
||||
# add local files
|
||||
COPY root/ /
|
||||
|
||||
@ -2,7 +2,8 @@
|
||||
|
||||
# Create folders
|
||||
mkdir -p \
|
||||
/data
|
||||
/data \
|
||||
/tmp/.dotnet/shm
|
||||
|
||||
# check Library permissions
|
||||
PUID=${PUID:-911}
|
||||
@ -12,3 +13,4 @@ if [ -d /config/config ] && [ ! "$(stat -c %u /config/config)" = "$PUID" ]; then
|
||||
chown abc:abc -R \
|
||||
/config
|
||||
fi
|
||||
lsiown -R abc:abc /tmp/.dotnet
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
|
||||
# env settings
|
||||
APP_DIR="/app/emby"
|
||||
export TMPDIR="/tmpnetcore"
|
||||
export LD_LIBRARY_PATH="${APP_DIR}"
|
||||
export FONTCONFIG_PATH="${APP_DIR}"/etc/fonts
|
||||
if [ -d "/lib/x86_64-linux-gnu" ]; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user