Skip to content

fix(.devcontainer/Dockerfile): chown bashrc - #1

Merged
johnstcn merged 1 commit into
mainfrom
chown-bashrc
May 13, 2025
Merged

johnstcn merged 1 commit into
mainfrom
chown-bashrc

Conversation

@johnstcn

Copy link
Copy Markdown
Member

No description provided.

@johnstcn johnstcn self-assigned this May 13, 2025
@johnstcn
johnstcn requested a review from mafredri May 13, 2025 14:17

@mafredri mafredri left a comment

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.

Why didn’t the previous approach work? AFAIK the USER switch should create the file as coder. See no issue with this approach though.

@johnstcn

Copy link
Copy Markdown
Member Author

I found that in our dogfood environment, the ownership of the /home/coder Docker volume ends up initially being root:root for some reason. This allows the build to succeed.

@johnstcn
johnstcn merged commit 59a495b into main May 13, 2025
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.

2 participants