@@ -14,8 +14,7 @@ ARG BUILD_TAG=latest
1414
1515# version: yyyy.n for stable versions / 0.yyyy for development
1616
17- ENV PROCESSOR_MODE CPU # 'GPU' or 'CPU'
18- ENV NVIDIA_VERSION 470
17+
1918
2019ENV JULIA_VERSION 1.6.6
2120ENV RUST_VERSION 1.57.0
@@ -31,49 +30,6 @@ LABEL Name="Coding for CRE" \
3130 OS="Ubuntu:$UBUNTU_VERSION" \
3231 Build_=$BUILD_TAG
3332
34- # install GPU driver
35- # https://www.linuxbabe.com/ubuntu/install-nvidia-driver-ubuntu-18-04
36- RUN add-apt-repository ppa:graphics-drivers/ppa
37- RUN apt-get -y --no-install-recommends install ubuntu-drivers-common
38- RUN ubuntu-drivers devices
39- #RUN ubuntu-drivers autoinstall
40- RUN apt-get -y --no-install-recommends install nvidia-driver-$NVIDIA_VERSION
41- #RUN apt-get -y --no-install-recommends install nvidia-$NVIDIA_VERSION
42-
43- # install OpenBlas
44- RUN apt-get -y --no-install-recommends install libopenblas-dev liblapack-dev
45- #cmake pkg-config
46-
47- # install libspatial
48- RUN apt-get update && apt-get -y --no-install-recommends install libspatialindex-dev && apt-get clean
49-
50- # install Python
51- RUN apt-get update && apt-get -y --no-install-recommends install python3-dev python3-plotly && apt-get clean
52- ##RUN apt-get update && apt-get -y --no-install-recommends install python3 python3-dev python3-setuptools python3-pip python3-plotly && apt-get clean
53- RUN apt-get -y --no-install-recommends install python3-numpy python3-scipy python3-matplotlib python3-h5py
54- ##RUN pip3 install --upgrade pip
55- RUN pip3 install setuptools wheel psutil pipreqs arrow
56- ## No module named 'gendoc' -> 22.04 only
57- ## RUN pip3 install --upgrade pip
58- ## RUN pip3 install gendoc
59- ## RUN pip3 install datatable
60-
61- # plotly==5.9 ??
62- # https://github.com/cgoldberg/xvfbwrapper
63- RUN pip3 install seaborn plotly kaleido xvfbwrapper
64- # rtree==0.9.4 & geopandas==0.6 & xlrd==1.2 & openpyxl==3.0 ??
65- RUN pip3 install numpy scipy rtree pandas geopandas patsy statsmodels xlrd openpyxl
66- # beautifulsoup4==4.9 ??
67- RUN pip3 install Flask connexion beautifulsoup4
68- #RUN pip3 install pycurl #recommended by jupyterlab
69- # https://pingouin-stats.org/build/html/index.html
70- RUN pip3 install pingouin
71- RUN pip3 install selenium
72-
73- # OpenCV
74- RUN apt-get -y --no-install-recommends install python3-opencv
75- RUN pip3 install opencv-python
76-
7733# install R
7834# https://packages.ubuntu.com/search?suite=default§ion=all&arch=any&keywords=r-cran-c&searchon=names
7935RUN apt-get -y --no-install-recommends install liblapack-dev gfortran cmake
@@ -188,9 +144,6 @@ RUN mkdir -p /cre && \
188144
189145RUN mkdir -p /cre && touch /cre/versions.txt && \
190146 echo "$(date +'%F %R') \t creCoding \t $CRE_VERSION" >> /cre/versions.txt && \
191- echo "$(date +'%F %R') \t scipy \t $(python3 -c 'import scipy; print(scipy.__version__)')" >> /cre/versions.txt && \
192- echo "$(date +'%F %R') \t geopandas \t $(python3 -c 'import geopandas; print(geopandas.__version__)')" >> /cre/versions.txt && \
193- echo "$(date +'%F %R') \t openCV \t $(python3 -c 'import cv2; print(cv2.__version__)')" >> /cre/versions.txt && \
194147 echo "$(date +'%F %R') \t rpy2 \t $(python3 -c 'import rpy2; print(rpy2.__version__)')" >> /cre/versions.txt && \
195148 echo "$(date +'%F %R') \t $(R --version | grep 'R version')" >> /cre/versions.txt && \
196149 echo "$(date +'%F %R') \t sbcl \t $(sbcl --version)" >> /cre/versions.txt && \
0 commit comments