Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Commonutils: chown: cannot access '/home/vscode/.zshrc': No such file or directory #662

Merged

Conversation

naturedamends
Copy link
Contributor

@naturedamends naturedamends commented Aug 19, 2023

23.12 Processing triggers for libc-bin (2.36-9+deb12u1) ...

23.16 Reading package lists...
23.84 Building dependency tree...
23.99 Reading state information...
24.03 Calculating upgrade...
24.29 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
24.30 Reading package lists...
24.94 Building dependency tree...
25.12 Reading state information...
25.40 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
25.41 Generating locales (th
[2023-08-19T23:03:03.970Z] is might take a while)...
25.42   en_US.UTF-8... done
27.10 Generation complete.
27.70 Cloning into '/home/vscode/.oh-my-zsh'...
29.61 chown: cannot access '/home/vscode/.zshrc': No such file or directory
29.61 ERROR: Feature "Common Utilities" (ghcr.io/devcontainers/features/common-utils) failed to install! Look at the documentation at https://github.com/devcontainers/features/tree/main/src/common-utils for help troubleshooting this error.
------
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/go
{
	"name": "Go",
	// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
	"image": "golang"
	"remoteUser": "vscode",
	"features": {
		"ghcr.io/devcontainers/features/common-utils:2": {
			"installZsh": true,
			"configureZshAsDefaultShell": true,
			"installOhMyZshConfig": false,
			"installOhMyZsh": true,
			"upgradePackages": true,
			"username": "vscode",
			"userUid": "1001",
			"userGid": "1001"
		},
		"ghcr.io/devcontainers/features/github-cli:1": {}
	},
}

@naturedamends naturedamends requested a review from a team as a code owner August 19, 2023 23:08
Copy link
Member

@samruddhikhandale samruddhikhandale left a comment

Choose a reason for hiding this comment

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

Thanks for the fix! ❇️

Looks like this bug wasn't caught by the existing tests. @naturedamends can you help add a test/scenario for the failing dev config? Thanks!

@naturedamends
Copy link
Contributor Author

Thanks for the fix! ❇️

Looks like this bug wasn't caught by the existing tests. @naturedamends can you help add a test/scenario for the failing dev config? Thanks!

#653 also satisfies those tests

Copy link
Member

@samruddhikhandale samruddhikhandale left a comment

Choose a reason for hiding this comment

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

Thanks! ✨

@samruddhikhandale samruddhikhandale merged commit 0668db5 into devcontainers:main Aug 25, 2023
12 checks passed
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