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

Unable to build a devcontainer features with podman #776

Closed
lmilbaum opened this issue Mar 18, 2024 · 3 comments
Closed

Unable to build a devcontainer features with podman #776

lmilbaum opened this issue Mar 18, 2024 · 3 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@lmilbaum
Copy link

Since version 0.54.2, building a devcontainer with podman on a macOS M3 is broken. It works with version 0.54.1. It seems related to the issue #548
[2/2] STEP 6/16: RUN --mount=type=bind,from=dev_containers_feature_content_source,source=pre-commit_0,target=/tmp/build-features-src/pre-commit_0,z cp -ar /tmp/build-features-src/pre-commit_0 /tmp/dev-container-features && chmod -R 0755 /tmp/dev-container-features/pre-commit_0 && cd /tmp/dev-container-features/pre-commit_0 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh && rm -rf /tmp/dev-container-features/pre-commit_0 Error: building at STEP "RUN --mount=type=bind,from=dev_containers_feature_content_source,source=pre-commit_0,target=/tmp/build-features-src/pre-commit_0,z cp -ar /tmp/build-features-src/pre-commit_0 /tmp/dev-container-features && chmod -R 0755 /tmp/dev-container-features/pre-commit_0 && cd /tmp/dev-container-features/pre-commit_0 && chmod +x ./devcontainer-features-install.sh && ./devcontainer-features-install.sh && rm -rf /tmp/dev-container-features/pre-commit_0": resolving mountpoints for container "d21daae06c6ae127a9b99f89e9ae68ccd7e117248fceef7158dc973325c1bd99": lsetxattr /var/folders/dz/kxtlzb710js5568ln76kh7d80000gn/T/devcontainercli/container-features/0.54.2-1710751732102/pre-commit_0: operation not supported

@chrmarti chrmarti self-assigned this Mar 18, 2024
@chrmarti
Copy link
Contributor

@chrmarti
Copy link
Contributor

I think the z flag only makes sense for Linux hosts. I will add a check for that.

@chrmarti chrmarti added this to the March 2024 milestone Mar 20, 2024
@chrmarti chrmarti added the bug Something isn't working label Mar 20, 2024
@lmilbaum
Copy link
Author

I think the z flag only makes sense for Linux hosts. I will add a check for that.

Thanks for driving this. I don't know how your CI works but GitHub Actions provides a mac runner. It might be useful for cases like this one.

@chrmarti chrmarti mentioned this issue Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants