Skip to content

Commit 61b4bca

Browse files
committed
mv pandas, matplotlib, numpy
1 parent f86e9d1 commit 61b4bca

File tree

4 files changed

+1
-179
lines changed

4 files changed

+1
-179
lines changed

Dockerfile18

Lines changed: 0 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ 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 450
19-
2017
ENV JULIA_VERSION 1.6.6
2118
ENV RUST_VERSION 1.57.0
2219
ENV LISP_VERSION 1.4.5
@@ -30,39 +27,6 @@ LABEL Name="Coding for CRE" \
3027
OS="Ubuntu:$UBUNTU_VERSION" \
3128
Build_=$BUILD_TAG
3229

33-
# install GPU driver
34-
# https://www.linuxbabe.com/ubuntu/install-nvidia-driver-ubuntu-18-04
35-
RUN add-apt-repository ppa:graphics-drivers/ppa
36-
RUN apt-get -y --no-install-recommends install ubuntu-drivers-common
37-
RUN ubuntu-drivers devices
38-
#RUN ubuntu-drivers autoinstall
39-
RUN apt-get -y --no-install-recommends install nvidia-driver-$NVIDIA_VERSION
40-
#RUN apt-get -y --no-install-recommends install nvidia-$NVIDIA_VERSION
41-
42-
# install OpenBlas
43-
RUN apt-get -y --no-install-recommends install libopenblas-dev liblapack-dev
44-
#cmake pkg-config
45-
46-
# install libspatial
47-
RUN apt-get update && apt-get -y --no-install-recommends install libspatialindex-dev && apt-get clean
48-
49-
# install Python
50-
RUN apt-get update && apt-get -y --no-install-recommends install python3-dev python3-plotly && apt-get clean
51-
##RUN apt-get update && apt-get -y --no-install-recommends install python3 python3-dev python3-setuptools python3-pip python3-plotly && apt-get clean
52-
##RUN pip3 install --upgrade pip
53-
RUN pip3 install setuptools wheel psutil pipreqs arrow
54-
# https://github.com/cgoldberg/xvfbwrapper
55-
RUN pip3 install matplotlib seaborn plotly==5.9 kaleido xvfbwrapper
56-
RUN pip3 install numpy scipy rtree==0.9.4 pandas geopandas==0.6 patsy statsmodels datatable xlrd==1.2 openpyxl==3.0
57-
RUN pip3 install Flask connexion beautifulsoup4==4.9
58-
#RUN pip3 install pycurl #recommended by jupyterlab
59-
# https://pingouin-stats.org/build/html/index.html
60-
RUN pip3 install pingouin
61-
62-
# OpenCV
63-
RUN apt-get -y --no-install-recommends install python3-opencv
64-
RUN pip3 install opencv-python
65-
6630
# install R
6731
# https://packages.ubuntu.com/search?suite=default&section=all&arch=any&keywords=r-cran-c&searchon=names
6832
RUN apt-get -y --no-install-recommends install liblapack-dev gfortran cmake
@@ -169,11 +133,6 @@ RUN mkdir -p /cre && \
169133

170134
RUN mkdir -p /cre && touch /cre/versions.txt && \
171135
echo "$(date +'%F %R') \t creCoding \t $CRE_VERSION" >> /cre/versions.txt && \
172-
echo "$(date +'%F %R') \t numpy \t $(python3 -c 'import numpy; print(numpy.__version__)')" >> /cre/versions.txt && \
173-
echo "$(date +'%F %R') \t scipy \t $(python3 -c 'import scipy; print(scipy.__version__)')" >> /cre/versions.txt && \
174-
echo "$(date +'%F %R') \t pandas \t $(python3 -c 'import pandas; print(pandas.__version__)')" >> /cre/versions.txt && \
175-
echo "$(date +'%F %R') \t geopandas \t $(python3 -c 'import geopandas; print(geopandas.__version__)')" >> /cre/versions.txt && \
176-
echo "$(date +'%F %R') \t openCV \t $(python3 -c 'import cv2; print(cv2.__version__)')" >> /cre/versions.txt && \
177136
echo "$(date +'%F %R') \t rpy2 \t $(python3 -c 'import rpy2; print(rpy2.__version__)')" >> /cre/versions.txt && \
178137
echo "$(date +'%F %R') \t $(R --version | grep 'R version')" >> /cre/versions.txt && \
179138
echo "$(date +'%F %R') \t sbcl \t $(sbcl --version)" >> /cre/versions.txt && \

Dockerfile20

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ 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
19-
2017
ENV JULIA_VERSION 1.6.6
2118
ENV RUST_VERSION 1.57.0
2219
ENV LISP_VERSION 2.0.1
@@ -31,40 +28,6 @@ LABEL Name="Coding for CRE" \
3128
OS="Ubuntu:$UBUNTU_VERSION" \
3229
Build_=$BUILD_TAG
3330

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-
# https://github.com/cgoldberg/xvfbwrapper
57-
RUN pip3 install matplotlib==3.3 seaborn plotly==5.9 kaleido xvfbwrapper
58-
RUN pip3 install numpy==1.19 scipy rtree==0.9.4 pandas==1.2 geopandas==0.6 patsy statsmodels datatable xlrd==1.2 openpyxl==3.0
59-
RUN pip3 install Flask connexion beautifulsoup4==4.9
60-
#RUN pip3 install pycurl #recommended by jupyterlab
61-
# https://pingouin-stats.org/build/html/index.html
62-
RUN pip3 install pingouin
63-
RUN pip3 install selenium
64-
65-
# OpenCV
66-
RUN apt-get -y --no-install-recommends install python3-opencv
67-
RUN pip3 install opencv-python
6831

6932
# install R
7033
# https://packages.ubuntu.com/search?suite=default&section=all&arch=any&keywords=r-cran-c&searchon=names
@@ -178,11 +141,6 @@ RUN mkdir -p /cre && \
178141

179142
RUN mkdir -p /cre && touch /cre/versions.txt && \
180143
echo "$(date +'%F %R') \t creCoding \t $CRE_VERSION" >> /cre/versions.txt && \
181-
echo "$(date +'%F %R') \t numpy \t $(python3 -c 'import numpy; print(numpy.__version__)')" >> /cre/versions.txt && \
182-
echo "$(date +'%F %R') \t scipy \t $(python3 -c 'import scipy; print(scipy.__version__)')" >> /cre/versions.txt && \
183-
echo "$(date +'%F %R') \t pandas \t $(python3 -c 'import pandas; print(pandas.__version__)')" >> /cre/versions.txt && \
184-
echo "$(date +'%F %R') \t geopandas \t $(python3 -c 'import geopandas; print(geopandas.__version__)')" >> /cre/versions.txt && \
185-
echo "$(date +'%F %R') \t openCV \t $(python3 -c 'import cv2; print(cv2.__version__)')" >> /cre/versions.txt && \
186144
echo "$(date +'%F %R') \t rpy2 \t $(python3 -c 'import rpy2; print(rpy2.__version__)')" >> /cre/versions.txt && \
187145
echo "$(date +'%F %R') \t $(R --version | grep 'R version')" >> /cre/versions.txt && \
188146
echo "$(date +'%F %R') \t sbcl \t $(sbcl --version)" >> /cre/versions.txt && \

Dockerfile22

Lines changed: 1 addition & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -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

2019
ENV JULIA_VERSION 1.6.6
2120
ENV 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&section=all&arch=any&keywords=r-cran-c&searchon=names
7935
RUN apt-get -y --no-install-recommends install liblapack-dev gfortran cmake
@@ -188,9 +144,6 @@ RUN mkdir -p /cre && \
188144

189145
RUN 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 && \

Dockerfile24

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ 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
19-
2017
ENV JULIA_VERSION 1.6.6
2118
ENV RUST_VERSION 1.57.0
2219
ENV LISP_VERSION 2.0.1
@@ -31,48 +28,6 @@ LABEL Name="Coding for CRE" \
3128
OS="Ubuntu:$UBUNTU_VERSION" \
3229
Build_=$BUILD_TAG
3330

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 scipy rtree 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
7631

7732
# install R
7833
# https://packages.ubuntu.com/search?suite=default&section=all&arch=any&keywords=r-cran-c&searchon=names
@@ -190,9 +145,6 @@ RUN mkdir -p /cre && \
190145

191146
RUN mkdir -p /cre && touch /cre/versions.txt && \
192147
echo "$(date +'%F %R') \t creCoding \t $CRE_VERSION" >> /cre/versions.txt && \
193-
echo "$(date +'%F %R') \t scipy \t $(python3 -c 'import scipy; print(scipy.__version__)')" >> /cre/versions.txt && \
194-
echo "$(date +'%F %R') \t geopandas \t $(python3 -c 'import geopandas; print(geopandas.__version__)')" >> /cre/versions.txt && \
195-
echo "$(date +'%F %R') \t openCV \t $(python3 -c 'import cv2; print(cv2.__version__)')" >> /cre/versions.txt && \
196148
echo "$(date +'%F %R') \t rpy2 \t $(python3 -c 'import rpy2; print(rpy2.__version__)')" >> /cre/versions.txt && \
197149
echo "$(date +'%F %R') \t $(R --version | grep 'R version')" >> /cre/versions.txt && \
198150
echo "$(date +'%F %R') \t sbcl \t $(sbcl --version)" >> /cre/versions.txt && \

0 commit comments

Comments
 (0)