mirror of
https://github.com/linuxserver/docker-baseimage-kasmvnc.git
synced 2026-02-20 08:28:57 +08:00
update threading env vars and ensure user starts in home directory
This commit is contained in:
parent
40e5877ce5
commit
ab170fc052
@ -199,7 +199,7 @@ LABEL maintainer="thelamer"
|
||||
# env
|
||||
ENV DISPLAY=:1 \
|
||||
PERL5LIB=/usr/local/bin \
|
||||
GOMP_WAIT_POLICY=PASSIVE \
|
||||
OMP_WAIT_POLICY=PASSIVE \
|
||||
GOMP_SPINCOUNT=0 \
|
||||
HOME=/config \
|
||||
NVIDIA_DRIVER_CAPABILITIES=${NVIDIA_DRIVER_CAPABILITIES:+$NVIDIA_DRIVER_CAPABILITIES,}graphics,compat32,utility
|
||||
|
||||
@ -204,7 +204,7 @@ LABEL maintainer="thelamer"
|
||||
# env
|
||||
ENV DISPLAY=:1 \
|
||||
PERL5LIB=/usr/local/bin \
|
||||
GOMP_WAIT_POLICY=PASSIVE \
|
||||
OMP_WAIT_POLICY=PASSIVE \
|
||||
GOMP_SPINCOUNT=0 \
|
||||
HOME=/config \
|
||||
NVIDIA_DRIVER_CAPABILITIES=${NVIDIA_DRIVER_CAPABILITIES:+$NVIDIA_DRIVER_CAPABILITIES,}graphics,compat32,utility
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
cd $HOME
|
||||
s6-setuidgid abc \
|
||||
/bin/bash /defaults/startwm.sh
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user