try and fix dotnet tmp

This commit is contained in:
aptalca 2023-06-01 11:28:36 -04:00
parent bcfe5af8e6
commit 5dc95053d8
No known key found for this signature in database
GPG Key ID: BE36CFFB9FD85548
5 changed files with 16 additions and 10 deletions

View File

@ -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/ /

View File

@ -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/ /

View File

@ -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/ /

View File

@ -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

View File

@ -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