Skip to content

Switch from Alpine to python:3.7-slim-buster #1215

@ColdHeat

Description

@ColdHeat

https://pythonspeed.com/articles/base-image-python-docker-images/

Alpine is good for making a small image but bad for overall development flow because you need to rebuild Python wheels. docker-library/docs#904

This wastes a lot of time and CPU during the build process.

We should switch over to python:3.7-slim-buster as recommended or figure out some other way to make builds go faster.

Another point it appears alpine is also slower: https://github.com/tao12345666333/docker-python-perf

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions