Official Docker containers?
See original GitHub issue- I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the documentation and believe that my question is not covered.
Feature Request
I’m curious if official docker containers could be created (automated via Github actions).
Of course it’s easy to install Poetry in a Dockerfile using get-poetry.py
, but I see two issues:
- Everyone has to write the boilerplate to install Poetry. Using an official container would remove this boilerplate.
get-poetry.py
installs the latest version of Poetry and doesn’t appear to have a flag for selecting the version. It’s good practice for Docker containers have reproducible builds, and this instability in Poetry version prevents that. An official container could pin the Poetry version and allow for reproducible builds.
For context I’d like to use Poetry in a Docker container to export the requirments.txt
, since it’s error-prone and troublesome to manually keep that export up to date and it’s redundant information when we have pyproject.toml
and poetry.lock
.
I’m actually surprised there are not already official Poetry Docker containers, so I’m wondering if this might be an intentional decision. On the other hand if this sound like a good idea, I can volunteer to work on a PR for it.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:19
- Comments:14 (4 by maintainers)
Top Results From Across the Web
Docker Official Images
The Docker Official Images are a curated set of Docker repositories hosted on Docker Hub. They are designed to: Provide essential base OS...
Read more >Explore Docker's Container Image Repository - Docker Hub
Docker Official Image. Updated a month ago. A minimal Docker image based on Alpine Linux with a complete package index and only 5...
Read more >Docker Hub Container Image Library | App Containerization
Docker Hub is the world's largest ... Browse over 100,000 container images from software vendors, open-source projects, ... See all Docker Official Images...
Read more >docker - Official Image
Docker is an open-source project that automates the deployment of applications inside software containers, by providing an additional layer of abstraction ...
Read more >Docker: Accelerated, Containerized Application Development
Docker is a platform designed to help developers build, share, and run modern applications. We handle the tedious setup, so you can focus...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This might be relevant for anyone who comes across this issue: https://github.com/python-poetry/poetry/discussions/1879
I did a scan with the latest grype and it came back with zero fixable vulns ✨ Awesome work @mateusoliveira43!! 🙌