Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Switch base Docker image from python:3.9.6 to a current alpine image #11

Open
3 tasks
ameliav opened this issue Nov 15, 2021 · 0 comments
Open
3 tasks

Comments

@ameliav
Copy link
Collaborator

ameliav commented Nov 15, 2021

💡 Summary

Switch base Docker image from python:3.9.6 to a current alpine image (e.g. python:3.10.0-alpine) and with working Python package installations

Motivation and context

The pca-report-library Dockerfile should be updated to Alpine to match the skeleton-docker. A direct update to Alpine will not work as there are some Python libraries such as matplotlib that are not directly compatible.

Implementation notes

According to the below links, there are Linux dependencies that need to be installed and also headers missing where the packages are looking for them.
https://stackoverflow.com/questions/65569248/how-to-install-matplotlib-on-alpine
https://gist.github.com/orenitamar/f29fb15db3b0d13178c1c4dd611adce2

Acceptance criteria

  • A single apk command should be used to install wget, the tex packages, and other packages
  • List of packages is alphabetized
  • Python packages are properly installed and working
@ameliav ameliav changed the title Update Ubuntu to Alpine with working Python package installations Update python:3.9.6 image to Alpine with working Python package installations Nov 16, 2021
@ameliav ameliav changed the title Update python:3.9.6 image to Alpine with working Python package installations Update python:3.9.6 image to include Alpine and working Python pkg installations Nov 16, 2021
@ameliav ameliav changed the title Update python:3.9.6 image to include Alpine and working Python pkg installations Update python:3.9.6 image to include Alpine and working Python package installations Nov 16, 2021
@ameliav ameliav changed the title Update python:3.9.6 image to include Alpine and working Python package installations Switch base Docker image from python:3.9.6 to a current alpine image Nov 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant