Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Switch base Docker image from python:3.10.0 to a current alpine image #6

Open
3 tasks
ameliav opened this issue Jan 26, 2022 · 0 comments
Open
3 tasks

Comments

@ameliav
Copy link
Collaborator

ameliav commented Jan 26, 2022

💡 Summary

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

Motivation and context

The li-pca-app-docker 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 and numpy 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
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