UCL / scikit-surgerydocker

This repo describes with a simple example how to use docker to containerise your project/algorithm
https://scikit-surgerydocker.readthedocs.io/en/latest/
Other
1 stars 2 forks source link

Add ubuntu as base dockerfile #26

Closed mianasbat closed 3 years ago

mianasbat commented 3 years ago

Currently I am using python base file which has a very minimum OS. Its better to use a bit proper OS as base OS and then install python 3 in it because complicated apps need more advanced libraries and compilers along side python3.

Also to cover automating more apps we will need a broader base platform.

mianasbat commented 3 years ago

Remember to put these commands and libraries after ubuntu base chosen.

RUN apt-get update && apt-get install build-essential && apt-get install -y libgl1-mesa-dev

reference: https://codeslake.github.io/ubuntu/docker/docker-libGL-error/ and https://askubuntu.com/questions/316102/no-installation-candidate-when-trying-to-install-build-essential

mianasbat commented 3 years ago

ubuntu nvidia is taken as base image solving the issue