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

Current recommended devcontainer is broken #1063

Closed
2 tasks done
dcode opened this issue Jun 22, 2023 · 2 comments · Fixed by #1101
Closed
2 tasks done

Current recommended devcontainer is broken #1063

dcode opened this issue Jun 22, 2023 · 2 comments · Fixed by #1101
Labels
released type/bug Something isn't working

Comments

@dcode
Copy link

dcode commented Jun 22, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

There are actually two small things that are broken:

a. The devcontainer fails to build due to pip3 refusing to install to system site-packages.
b. It also fails to mount the project directory when running on SELinux systems.

Expected behaviour

I expected the recommended Dockerfile to build and execute, allowing me to make edits.

Steps To Reproduce

Problem A:

  1. Checkout the code.
  2. Attempt to run "Reopen in devcontainer" in VS Code.
  3. Build fails.

Problem B:

  1. Fix build and run "Reopen in devcontainer" on system with SELinux (I used Fedora 38).
  2. Observe that no files appear in the file browser.

Mode

Both

Card Version

n/a

Home Assistant Version

n/a

Configuration

No response

Relevant log output

I've made the fixes and will submit a PR.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@dcode dcode added the type/bug Something isn't working label Jun 22, 2023
@github-actions
Copy link

Hello @dcode, thank you for your interest in our work!
If this is a bug report, please provide your configuration and any screenshots that would assist troubleshooting, otherwise we can not help you.

@github-actions
Copy link

🎉 This issue has been resolved in version 7.5.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released type/bug Something isn't working
Projects
None yet
1 participant