Skip to content

[common-utils] fix bug when user home is custom by base docker - #703

Merged
Samruddhi Khandale (samruddhikhandale) merged 3 commits into
devcontainers:mainfrom
prulloac:common-utils-home
Sep 27, 2023
Merged

[common-utils] fix bug when user home is custom by base docker#703
Samruddhi Khandale (samruddhikhandale) merged 3 commits into
devcontainers:mainfrom
prulloac:common-utils-home

Conversation

@prulloac

@prulloac Pablo Ulloa (prulloac) commented Sep 26, 2023

Copy link
Copy Markdown
Contributor

Resolves #639

main.sh first checks if user has home directory already set and different than /home/${USERNAME}. if it does, then uses the custom home directory, otherwise behaves as usual

@prulloac
Pablo Ulloa (prulloac) marked this pull request as ready for review September 26, 2023 02:07
@prulloac
Pablo Ulloa (prulloac) requested a review from a team as a code owner September 26, 2023 02:07

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contributing, we appreciate it ✨

Left some minor comments, besides that looks good to me.

Comment thread src/common-utils/main.sh Outdated
Comment thread src/common-utils/main.sh
Comment thread test/common-utils/scenarios.json

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thank you! 🎉

@samruddhikhandale
Samruddhi Khandale (samruddhikhandale) merged commit e7f7d19 into devcontainers:main Sep 27, 2023
@prulloac
Pablo Ulloa (prulloac) deleted the common-utils-home branch September 28, 2023 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

common-utils doesn't handle custom $HOME locations

2 participants