Skip to content

Commit

Permalink
update threading env vars and ensure user starts in home directory
Browse files Browse the repository at this point in the history
  • Loading branch information
thelamer committed Mar 9, 2023
1 parent 40e5877 commit ab170fc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions root/etc/s6-overlay/s6-rc.d/svc-de/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/with-contenv bash

cd $HOME
s6-setuidgid abc \
/bin/bash /defaults/startwm.sh

0 comments on commit ab170fc

Please sign in to comment.