From 235f86f36e92c3f5d7fb141baac0a2c472952557 Mon Sep 17 00:00:00 2001 From: Alvin Schiller <103769832+AlvinSchiller@users.noreply.github.com> Date: Wed, 15 Nov 2023 22:29:13 +0100 Subject: [PATCH] test exports --- ci/ci-debian.Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/ci-debian.Dockerfile b/ci/ci-debian.Dockerfile index 25e99478c..640ff585d 100644 --- a/ci/ci-debian.Dockerfile +++ b/ci/ci-debian.Dockerfile @@ -52,10 +52,10 @@ RUN export USER_PI=$USER \ && export USER_PI_ID=1000 \ && groupadd --gid 1000 $USER_PI_GROUP \ && useradd -u $USER_PI_ID -g $USER_PI_GROUP -G sudo -d /home/$USER_PI -m -s /bin/bash -p '$1$iV7TOwOe$6ojkJQXyEA9bHd/SqNLNj0' $USER_PI \ - && echo "$USER_PI ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/$USER_PI + && echo "$USER_PI ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/$USER_PI \ + && echo "export XDG_RUNTIME_DIR=\"/run/user/$USER_PI_ID\"" >> /home/$USER_PI/.profile \ + && echo "export DBUS_SESSION_BUS_ADDRESS=\"unix:path=/run/user/$USER_PI_ID/bus\"" >> /home/$USER_PI/.profile # \ -# && echo "export XDG_RUNTIME_DIR=\"/run/user/$USER_PI_ID\"" >> /home/$USER_PI/.profile \ -# && echo "export DBUS_SESSION_BUS_ADDRESS=\"unix:path=/run/user/$USER_PI_ID/bus\"" >> /home/$USER_PI/.profile \ # && echo "export XDG_RUNTIME_DIR=\"/run/user/$USER_PI_ID\"" >> /home/$USER_PI/.bashrc \ # && echo "export DBUS_SESSION_BUS_ADDRESS=\"unix:path=/run/user/$USER_PI_ID/bus\"" >> /home/$USER_PI/.bashrc # ------