-
-
Notifications
You must be signed in to change notification settings - Fork 628
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
chore: update development mode scripts to containerize Poetry and other relevant dependencies #2144
chore: update development mode scripts to containerize Poetry and other relevant dependencies #2144
Conversation
@nicomiguelino, I tried to build containers locally ( By following the "Dockerized development environment") on Mac but got errors. Machine details
Error log:
|
@salmanfarisvp, it looks like a network issue inside Docker containers. Can you run the following? # Start the container.
docker run -itd --name debian-bookworm-test debian:bookworm
# Get inside the container.
docker exec -it debian-bookworm-latest bash
# Run the following inside the container.
apt-get update -y
apt-get install -y --no-install-recommends python3-dev Alternatively, you can try enabling Rosetta on your mac. |
@nicomiguelino Thanks, it's worked.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested and working on MAC
MacBook Air
Chip: Apple M1
Memmory: 8 GB
macOS : Sequoia 15.1.1
I don't like this approach. It's bad practice to pollute the host system. There's really no reason why you can't run the entire development environment in Docker. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Much cleaner.
Quality Gate passedIssues Measures |
@salmanfarisvp, in the meantime, you can try this on your Debian/Ubuntu machine to see if it works. |
Docs
Alternative Strategy
docker run --rm -v $(pwd):/code <dockerfile>
, which will generate the required Dockerfiles.