Skip to content

Commit de6b7e4

Browse files
authored
These installs were moved in to the rcran build
See Kaggle/docker-rcran#65 They should already be installed in the base image. http://b/245539960
1 parent cc96f41 commit de6b7e4

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

Dockerfile

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -10,30 +10,7 @@ RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
1010
RUN python get-pip.py
1111

1212
RUN apt-get update && \
13-
apt-get install apt-transport-https && \
14-
apt-get install -y -f r-cran-rgtk2 && \
15-
apt-get install -y -f libv8-dev libgeos-dev libgdal-dev libproj-dev libsndfile1-dev \
16-
libtiff5-dev fftw3 fftw3-dev libfftw3-dev libjpeg-dev libhdf4-0-alt libhdf4-alt-dev \
17-
libhdf5-dev libx11-dev cmake libglu1-mesa-dev libgtk2.0-dev librsvg2-dev libxt-dev \
18-
patch libgit2-dev && \
19-
/tmp/clean-layer.sh
20-
21-
RUN apt-get update && apt-get install -y build-essential git ninja-build ccache libatlas-base-dev libopenblas-dev libopencv-dev python3-opencv && \
22-
cd /usr/local/share && git clone --recursive --depth=1 --branch v1.8.x https://github.com/apache/incubator-mxnet.git mxnet && \
23-
cd mxnet && cp config/linux.cmake config.cmake && rm -rf build && \
24-
mkdir -p build && cd build && cmake .. && cmake --build . --parallel $(nproc) && \
25-
cd .. && make -f R-package/Makefile rpkg && \
26-
/tmp/clean-layer.sh
27-
28-
# Needed for "h5" library
29-
RUN apt-get install -y libhdf5-dev && \
30-
# Needed for "topicmodels" library
31-
apt-get install -y libgsl-dev && \
32-
# Needed for "tesseract" library
33-
apt-get install -y libpoppler-cpp-dev libtesseract-dev tesseract-ocr-eng && \
34-
/tmp/clean-layer.sh
35-
36-
RUN apt-get install -y libzmq3-dev default-jdk && \
13+
apt-get install -y libzmq3-dev default-jdk && \
3714
apt-get install -y python3.8-dev libcurl4-openssl-dev libssl-dev && \
3815
pip install jupyter pycurl && \
3916
# Install older tornado - https://github.com/jupyter/notebook/issues/4437

0 commit comments

Comments
 (0)