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

Replace Alpine-based image with a Debian-based image #21

Merged
merged 1 commit into from
Feb 5, 2021
Merged

Commits on Feb 1, 2021

  1. Replace Alpine-based image with a Debian-based image

    Alpine Linux uses musl libc instead of glibc which means it cannot use most
    pre-built Python wheels for glibc-based Linux distributions [1]. As a result, Python
    packages need to be built from source, leading to longer build times and
    increased complexity in the Dockerfile for more complex packages. For complex
    packages like opencv-python, building from source is especially non-trivial.
    
    This commit ports the existing Alpine-based Dockerfile to a minimal Debian-based
    file with pre-installed Python 3 (the official Python Docker image) and removes
    dependencies that were originally required to build Python packages from
    sources (e.g., cvxopt) where installation from a wheel is now possible.
    
    This commit also removes all explicit references to Python 2 dependencies, as
    fauna is compatible enough with Python 3 for downloading to work and sacra was
    previously removed.
    
    [1] docker-library/docs#904
    huddlej authored and tsibley committed Feb 1, 2021
    Configuration menu
    Copy the full SHA
    ce07dad View commit details
    Browse the repository at this point in the history