update threading env vars and ensure user starts in home directory

This commit is contained in:
thelamer 2023-03-08 20:23:54 -08:00
parent 40e5877ce5
commit ab170fc052
3 changed files with 3 additions and 2 deletions

View File

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

View File

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

View File

@ -1,4 +1,5 @@
#!/usr/bin/with-contenv bash
cd $HOME
s6-setuidgid abc \
/bin/bash /defaults/startwm.sh