Skip to content

Commit

Permalink
create: add host terminfo as a fallback (#1194)
Browse files Browse the repository at this point in the history
* Add host terminfo separately and add it as fallback

This should allow the user to use a modern terminal without installing anything
additional inside the container itself

* Remove unecessary volume mount
  • Loading branch information
sandorex authored Feb 15, 2024
1 parent a60c37a commit 0f124f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions distrobox-create
Original file line number Diff line number Diff line change
Expand Up @@ -602,6 +602,7 @@ generate_command() {
--env \"SHELL=$(basename "${SHELL:-"/bin/bash"}")\"
--env \"HOME=${container_user_home}\"
--env \"container=${container_manager}\"
--env \"TERMINFO_DIRS=/usr/share/terminfo:/run/host/usr/share/terminfo\"
--volume /:/run/host:rslave
--volume /tmp:/tmp:rslave
--volume \"${distrobox_entrypoint_path}\":/usr/bin/entrypoint:ro
Expand Down

0 comments on commit 0f124f3

Please sign in to comment.