File tree 2 files changed +8
-4
lines changed 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -34,16 +34,15 @@ RUN apt-get install -y libhdf5-dev && \
34
34
/tmp/clean-layer.sh
35
35
36
36
RUN apt-get install -y libzmq3-dev python-pip default-jdk && \
37
- apt-get install -y python-dev libcurl4-openssl-dev && \
37
+ apt-get install -y python-dev libcurl4-openssl-dev libssl-dev && \
38
38
pip install jupyter pycurl && \
39
39
# Install older tornado - https://github.com/jupyter/notebook/issues/4437
40
40
pip install "tornado<6" && \
41
41
# to avoid breaking UI change, pin the jupyter notebook package
42
42
# the latest version also has a regression on the NotebookApp.ip option
43
43
# see: https://www.google.com/url?q=https://github.com/jupyter/notebook/issues/3946&sa=D&usg=AFQjCNFieP7srXVWqX8PDetXGfhyxRmO4Q
44
44
pip install notebook==5.5.0 && \
45
- # Pin nbconvert b/170301227
46
- pip install nbconvert==5.6.1 && \
45
+ pip install nbconvert && \
47
46
R -e 'IRkernel::installspec()' && \
48
47
# Build pyzmq from source instead of using a pre-built binary.
49
48
yes | pip uninstall pyzmq && \
Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ library(devtools)
2
2
options(repos = c(" CRAN" = " http://cran.us.r-project.org" ))
3
3
options(Ncpus = parallel :: detectCores())
4
4
5
+ # Set download method, to avoid the default behavior of using
6
+ # R's internal HTTP implementation, which doesn't support HTTPS connections.
7
+ # https://stackoverflow.com/questions/45061272/r-and-ssl-curl-on-ubuntu-linux-failed-ssl-connect-in-r-but-works-in-curl
8
+ options(download.file.method = " libcurl" )
9
+
5
10
# Install the lightGBM installer package
6
11
install_github(" Laurae2/lgbdl" )
7
12
lgbdl :: lgb.dl(compiler = " gcc" , commit = " tags/v2.3.1" )
@@ -47,4 +52,4 @@ library(torch)
47
52
install_torch(reinstall = TRUE )
48
53
49
54
# The R Keras package must be reinstalled after installing it in the python virtualenv.
50
- install.packages (" keras" )
55
+ install_version (" keras" , version = " 2.3.0.0 " , ask = FALSE )
You can’t perform that action at this time.
0 commit comments