Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(examples): copy /etc/skel on init in docker template#12913

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mafredri merged 1 commit intomainfrommafredri/fix-examples-docker-user-skel
Apr 9, 2024

Conversation

mafredri
Copy link
Member

@mafredrimafredri commentedApr 9, 2024
edited
Loading

This will give users a nicer first-time experience using the docker template and will allow them to update their~/.bashrc and it'll just work ™️.

Fixes#10209

image

Edit: It seems~/.bashrc did work even without this, but this is still a nicer experience with colored prompt/better settings over of a basic black/white one. I only tested in web terminal though so that may be why the rcfile worked even without this PR.

@mafredriGraphite App
Copy link
MemberAuthor

This stack of pull requests is managed by Graphite.Learn more about stacking.

Join@mafredri and the rest of your teammates onGraphiteGraphite

@mafredrimafredri marked this pull request as ready for reviewApril 9, 2024 11:41
@mafredri
Copy link
MemberAuthor

Verified the fix for SSH sessions, here the change is immediately visible.

Fix:

coder@w ~/coder mafredri/fix-examples-docker-user-skel*❯ ./scripts/coder-dev.sh ssh test👋 Your workspace is outdated! Update it here: http://127.0.0.1:3000/@admin/testTo run a command as administrator (user "root"), use "sudo <command>".See "man sudo_root" for details.HELLO WORLDadmin@test:~$

No fix:

coder@w ~/coder mafredri/fix-examples-docker-user-skel* 17s❯ ./scripts/coder-dev.sh ssh test2To run a command as administrator (user "root"), use "sudo <command>".See "man sudo_root" for details.admin@test2:~$ cat ~/.bashrcecho HELLO WORLDadmin@test2:~$

@mafredrimafredri merged commit0178bfe intomainApr 9, 2024
@mafredrimafredri deleted the mafredri/fix-examples-docker-user-skel branchApril 9, 2024 11:54
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsApr 9, 2024
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@johnstcnjohnstcnjohnstcn approved these changes

@matifalimatifalimatifali approved these changes

Assignees

@mafredrimafredri

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

A new workspace from docker template does not source.bashrc
3 participants
@mafredri@johnstcn@matifali

[8]ページ先頭

©2009-2025 Movatter.jp