BGameiro2000 / dockerfile

Dockerfiles for CI/CD and Unraid CA
1 stars 4 forks source link

Add critical components #12

Open frakman1 opened 3 years ago

frakman1 commented 3 years ago

@BGameiro2000 I used this docker image as part of the UnRAID template (bgameiro/arch-jupyterlab) The problem is that it is unusable. It doesn't even have pip installed. It doesn't have matplotlib. So it won't even run the simplest of demo notebooks.

I had to run this in the container before it would work with sample notebooks.

pacman -Syu  # I think this is optional but it updated a bunch of components
pacman -S python-pip  
pip install matplotlib
pip install scipy
frakman1 commented 3 years ago

I also noticed that when updating to the latest jupyter server, the argument --app-dir=/appdata/lab is not recognized so the docker run command fails. I think you have to use -e environment variable JUPYTERLAB_DIR instead.

BGameiro2000 commented 3 years ago

I'll try to do it tomorrow. I've been away due to university exams.

BGameiro2000 commented 3 years ago

I'll add python-pip to the image, but, for know, the docker is just meant to provide the jupyter lab base as it can be used with different languages and it doesn't make sense to add them all to the default. You'll have to use pip to install matplotlib and scipy in your image.

Regarding pacman -Syu, this updates all packages, it had a lot to update because I didn't update the image in a while. I'm updating it today.