Skip to content

Commit

Permalink
Merge pull request syslog-ng#4768 from alltilla/dbld-entrypoint-home-dir
Browse files Browse the repository at this point in the history
dbld: use home dir of the container user
  • Loading branch information
bazsi authored Jan 2, 2024
2 parents e859511 + a03cf8a commit 1daecc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dbld/images/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ else
chown $USER_NAME:$GROUP_ID /home/$USER_NAME
fi

exec sudo --preserve-env -u "${USER_NAME}" "$@"
exec sudo --preserve-env -Hu "${USER_NAME}" "$@"
fi

0 comments on commit 1daecc3

Please sign in to comment.