Skip to content

Commit d87f45a

Browse files
committed
Fix h2o, sf & xgboost examples
1 parent 46a883e commit d87f45a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

examples/h2o/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

22
FROM rhub/r-minimal
33

4-
RUN R_DEFAULT_INTERNET_TIMEOUT=10000 installr -d -a openjdk10-jre -t "curl-dev musl-dev" h2o
4+
RUN R_DEFAULT_INTERNET_TIMEOUT=10000 installr -d -a openjdk11-jre -t "curl-dev musl-dev" h2o

examples/sf/Dockerfile

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11

22
FROM rhub/r-minimal
33

4-
RUN apk add udunits-dev --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community
5-
64
RUN installr -d \
75
-t "openssl-dev linux-headers gfortran proj-dev gdal-dev sqlite-dev geos-dev udunits-dev" \
8-
-a "libssl1.1 proj gdal geos expat udunits" \
6+
-a "libssl3 proj gdal geos expat udunits" \
97
sf
108

119
RUN R -q -e 'library(sf)'

examples/xgboost/Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11

22
FROM rhub/r-minimal
33

4-
RUN installr -d -t "gfortran libexecinfo-dev" -a libexecinfo xgboost
4+
RUN mkdir -p ~/.R && echo 'CXX17FLAGS+=-DDMLC_LOG_STACK_TRACE=0 -DDMLC_USE_FOPEN64=0' >> ~/.R/Makevars
5+
6+
RUN installr -d -t "gfortran" xgboost

0 commit comments

Comments
 (0)