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

cacheFrom does not include permission changes to files used in postCreateCommand #303

Closed
alexanderilyin opened this issue Nov 29, 2024 · 2 comments

Comments

@alexanderilyin
Copy link

Related Run:

You can see that in Build Dev Container everything is Layer already exists, but Install Python dependencies fails with:

/bin/sh: 1: .devcontainer/postCreateCommand.sh: Permission denied

P. S. I'm not 100% sure that it's actually "image" problem since .devcontainer/postCreateCommand.sh should come from git and not image.

@alexanderilyin
Copy link
Author

Okay, for some reason just doing chmod -c +x ... & git commit ... was not enough, and git add --chmod=+x ... fixed it hopefully.

@alexanderilyin
Copy link
Author

Yep, shame on me.

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

No branches or pull requests

1 participant