pypi / warehouse

The Python Package Index
https://pypi.org
Apache License 2.0
3.58k stars 965 forks source link

Upload dev containers #9988

Open abitrolly opened 3 years ago

abitrolly commented 3 years ago

What's the problem this feature will solve?

Setting up development environment takes a lot of time, with 15+ minutes going into make build.

Describe the solution you'd like

Make GitHub Actions to upload latest built images to https://hub.docker.com/r/pypa/warehouse and make sure docker-compose can find them.

ewjoachim commented 3 years ago

If we push images, it probably is useful to consider inlining build cache too ! https://docs.docker.com/engine/reference/commandline/build/#specifying-external-cache-sources

Also, if we have images, this would be the first step toward having a complete dev env on codespaces (github.dev)

abitrolly commented 3 years ago

I didn't know Docker had the ability to distributed inline caches, and I like it.

For github.dev I've heard VS uses .devcontainer - not sure if it is a standardized approach, but it looks like either that or Kubernetes things like Google's skaffold provide modern approach to multi-container development.