<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p></p>
Thanks Roger,<br>
<br>
I have modified the Dockerfile aiming to integrate sqlite3, libsqlite3-dev and rgdal from R-Forge:
<br>
<br>
<span style="font-size: 10pt;">RUN R -e "install.packages('rgdal', repos='</span><a href="http://R-Forge.R-project.org'" target="_blank"><span style="font-size: 10pt;">http://R-Forge.R-project.org'</span></a><span style="font-size: 10pt;">, configure.args =
 c('--with-gdal-config=/usr/bin/gdal-config','--with-gdal-share=/usr/share/gdal', '--with-proj-include=/usr/include', '--with-proj-lib=/usr/share/proj', '--with-proj-share=/usr/local/share/proj'))"</span><br>
<br>
Unfortunately, this package have a dependency to 'sp'. <br>
<br>
<span style="font-size: 10pt;">> install.packages('rgdal', repos='</span><a href="http://R-Forge.R-project.org'" target="_blank"><span style="font-size: 10pt;">http://R-Forge.R-project.org'</span></a><span style="font-size: 10pt;">, configure.args = c('--with-gdal-config=/usr/bin/gdal-config','--with-gdal-share=/usr/share/gdal',
 '--with-proj-include=/usr/include', '--with-proj-lib=/usr/share/proj', '--with-proj-share=/usr/local/share/proj'))</span><br style="font-size: 10pt;">
<span style="font-size: 10pt;">Installing package into '/usr/local/lib/R/site-library'</span><br style="font-size: 10pt;">
<span style="font-size: 10pt;">(as 'lib' is unspecified)</span><br style="font-size: 10pt;">
<span style="font-size: 10pt;">Warning: dependency 'sp' is not available</span><br style="font-size: 10pt;">
<span style="font-size: 10pt;">trying URL '</span><a href="http://R-Forge.R-project.org/src/contrib/rgdal_1.5-3.tar.gz'" target="_blank"><span style="font-size: 10pt;">http://R-Forge.R-project.org/src/contrib/rgdal_1.5-3.tar.gz'</span></a><span style="font-size: 10pt;">;</span><br style="font-size: 10pt;">
<span style="font-size: 10pt;">Content type 'application/x-gzip' length 1774321 bytes (1.7 MB)</span><br style="font-size: 10pt;">
<span style="font-size: 10pt;">==================================================</span><br style="font-size: 10pt;">
<span style="font-size: 10pt;">downloaded 1.7 MB</span><br style="font-size: 10pt;">
<br style="font-size: 10pt;">
<span style="font-size: 10pt;">ERROR: dependency 'sp' is not available for package 'rgdal'</span><br style="font-size: 10pt;">
<span style="font-size: 10pt;">* removing '/usr/local/lib/R/site-library/rgdal'</span><br style="font-size: 10pt;">
<br style="font-size: 10pt;">
<span style="font-size: 10pt;">The downloaded source packages are in</span><br style="font-size: 10pt;">
<span style="font-size: 10pt;">        '/tmp/Rtmp0aIlx7/downloaded_packages'</span><br style="font-size: 10pt;">
<span style="font-size: 10pt;">Warning message:</span><br style="font-size: 10pt;">
<span style="font-size: 10pt;">In install.packages("rgdal", repos = "</span><a href="http://R-Forge.R-project.org"" target="_blank"><span style="font-size: 10pt;">http://R-Forge.R-project.org"</span></a><span style="font-size: 10pt;">,  :</span><br style="font-size: 10pt;">
<span style="font-size: 10pt;">  installation of package 'rgdal' had non-zero exit status</span><br>
<br>
So, I added the package 'sp' : <br>
<br>
<span style="font-size: 10pt;">RUN R -e "install.packages('sp', repos='</span><a href="http://R-Forge.R-project.org')"" target="_blank"><span style="font-size: 10pt;">http://R-Forge.R-project.org')"</span></a><span style="font-size: 10pt;">;</span><br>
<br>
But this package seems not available for the version of R 3.6.2:<br>
<br>
<span style="font-size: 10pt;">install.packages('sp', repos='</span><a href="http://R-Forge.R-project.org')" target="_blank"><span style="font-size: 10pt;">http://R-Forge.R-project.org')</span></a><br style="font-size: 10pt;">
<span style="font-size: 10pt;">Installing package into '/usr/local/lib/R/site-library'</span><br style="font-size: 10pt;">
<span style="font-size: 10pt;">(as 'lib' is unspecified)</span><br style="font-size: 10pt;">
<span style="font-size: 10pt;">Warning message:</span><br style="font-size: 10pt;">
<span style="font-size: 10pt;">package 'sp' is not available (for R version 3.6.2) </span>
<div><span style="font-size: 13.3333px;"><br>
</span></div>
<div><span style="font-size: 12pt;">Solution : downgrade R?</span><br>
</div>
<div><span style="font-size: 13.3333px;"><span style="font-size: 12pt;"><br>
</span></span></div>
<div><span style="font-size: 13.3333px;"><span style="font-size: 12pt;">Thanks,</span><br style="font-size: 12pt;">
<br style="font-size: 12pt;">
<span style="font-size: 12pt;">Arnaud</span><br>
</span></div>
<div><span style="font-size: 13.3333px;"><br>
</span><br>
________________________________________<br>
De : Roger Bivand <Roger.Bivand@nhh.no><br>
Envoyé : mercredi 29 janvier 2020 12:00<br>
À : Arnaud De Groof; r-sig-geo@r-project.org<br>
Objet : Re: [R-sig-Geo] Error in the installation of rgdal on the docker osgeo/gdal:ubuntu-small<br>
<br>
On Tue, 28 Jan 2020, Roger Bivand wrote:<br>
<br>
> Thanks for this. The configure script does not check that sqlite is<br>
> available, and should do that. For now, make sqlite available in the<br>
> image (PROJ needs it from PROJ 6). Did you know that you are pulling<br>
> GDAL 3.1.0, which has not been released or checked with R packages (not<br>
> the problem here)? If the problem with the configure failure gets<br>
> resolved, you'll need to install from rgdal from R-Forge, no more patch<br>
> releases for 1.4.*. If you want to experiment with WKT2 CRS, also grab<br>
> sp from my github master.<br>
<br>
Please try revision 926 from <a href="https://clicktime.symantec.com/3DbwF33HwMJWTWsivoeyZxQ6H2?u=https%3A%2F%2Fr-forge.r-project.org%2FR%2F%3Fgroup_id%3D884" target="_blank">
https://clicktime.symantec.com/3DbwF33HwMJWTWsivoeyZxQ6H2?u=https%3A%2F%2Fr-forge.r-project.org%2FR%2F%3Fgroup_id%3D884</a><br>
once it refreshes (and if the build succeeds); this includes a<br>
non-failing test for sqlite3. Once you report back, I can also modify it<br>
to hard-fail.<br>
<br>
Roger<br>
<br>
><br>
> Roger<br>
><br>
> --<br>
> Roger Bivand<br>
> Norwegian School of Economics<br>
> Helleveien 30, 5045 Bergen, Norway<br>
> Roger.Bivand@nhh.no<br>
><br>
><br>
> ________________________________________<br>
> Fra: R-sig-Geo <r-sig-geo-bounces@r-project.org> på vegne av Arnaud De Groof <Arnaud.DeGroof@spacebel.be><br>
> Sendt: tirsdag 28. januar 2020 16.46<br>
> Til: r-sig-geo@r-project.org<br>
> Emne: [R-sig-Geo] Error in the installation of rgdal on the docker osgeo/gdal:ubuntu-small<br>
><br>
> Hi,<br>
><br>
><br>
> I am trying to install the rgdal package on a docker image based on osgeo/gdal:ubuntu-small (latest) but I encounter the following issue:<br>
><br>
><br>
><br>
>> install.packages('rgdal', repos='<a href="https://clicktime.symantec.com/3GfSmsMNhbeBczexqVoajwb6H2?u=http%3A%2F%2Fcran.rstudio.com'" target="_blank">https://clicktime.symantec.com/3GfSmsMNhbeBczexqVoajwb6H2?u=http%3A%2F%2Fcran.rstudio.com'</a>, configure.args
 = c('--with-gdal-config=/usr/bin/gdal-config','--with-gdal-share=/usr/share/gdal', '--with-proj-include=/usr/include', '--with-proj-lib=/usr/share/proj'))<br>
> Installing package into '/usr/local/lib/R/site-library'<br>
> (as 'lib' is unspecified)<br>
> also installing the dependency 'sp'<br>
><br>
> trying URL '<a href="https://clicktime.symantec.com/3MN754oA1SfJBHTyzTfokXH6H2?u=http%3A%2F%2Fcran.rstudio.com%2Fsrc%2Fcontrib%2Fsp_1.3-2.tar.gz'" target="_blank">https://clicktime.symantec.com/3MN754oA1SfJBHTyzTfokXH6H2?u=http%3A%2F%2Fcran.rstudio.com%2Fsrc%2Fcontrib%2Fsp_1.3-2.tar.gz'</a>;<br>
> Content type 'application/x-gzip' length 1132347 bytes (1.1 MB)<br>
> ==================================================<br>
> downloaded 1.1 MB<br>
><br>
> trying URL '<a href="https://clicktime.symantec.com/3Er9t6ENqj3etwpXLVu7jiT6H2?u=http%3A%2F%2Fcran.rstudio.com%2Fsrc%2Fcontrib%2Frgdal_1.4-8.tar.gz'" target="_blank">https://clicktime.symantec.com/3Er9t6ENqj3etwpXLVu7jiT6H2?u=http%3A%2F%2Fcran.rstudio.com%2Fsrc%2Fcontrib%2Frgdal_1.4-8.tar.gz'</a>;<br>
> Content type 'application/x-gzip' length 1698902 bytes (1.6 MB)<br>
> ==================================================<br>
> downloaded 1.6 MB<br>
><br>
> * installing *source* package 'sp' ...<br>
> ** package 'sp' successfully unpacked and MD5 sums checked<br>
> ** using staged installation<br>
> ** libs<br>
> gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-t3diwe/r-base-3.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c Rcentroid.c -o Rcentroid.o<br>
> gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-t3diwe/r-base-3.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c gcdist.c -o gcdist.o<br>
> gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-t3diwe/r-base-3.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c init.c -o init.o<br>
> gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-t3diwe/r-base-3.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c pip.c -o pip.o<br>
> gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-t3diwe/r-base-3.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c pip2.c -o pip2.o<br>
> gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-t3diwe/r-base-3.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c sp_xports.c -o sp_xports.o<br>
> gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-t3diwe/r-base-3.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c surfaceArea.c -o surfaceArea.o<br>
> gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG     -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-t3diwe/r-base-3.6.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c zerodist.c -o zerodist.o<br>
> gcc -std=gnu99 -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o sp.so Rcentroid.o gcdist.o init.o pip.o pip2.o sp_xports.o surfaceArea.o zerodist.o -L/usr/lib/R/lib -lR<br>
> installing to /usr/local/lib/R/site-library/00LOCK-sp/00new/sp/libs<br>
> ** R<br>
> ** data<br>
> ** demo<br>
> ** inst<br>
> ** byte-compile and prepare package for lazy loading<br>
> ** help<br>
> *** installing help indices<br>
> ** building package indices<br>
> ** installing vignettes<br>
> ** testing if installed package can be loaded from temporary location<br>
> ** checking absolute paths in shared objects and dynamic libraries<br>
> ** testing if installed package can be loaded from final location<br>
> ** testing if installed package keeps a record of temporary installation path<br>
> * DONE (sp)<br>
> * installing *source* package 'rgdal' ...<br>
> ** package 'rgdal' successfully unpacked and MD5 sums checked<br>
> ** using staged installation<br>
> configure: R_HOME: /usr/lib/R<br>
> configure: CC: gcc -std=gnu99<br>
> configure: CXX: g++ -std=gnu++11<br>
> configure: C++11 support available<br>
> configure: rgdal: 1.4-7<br>
> checking for /usr/bin/svnversion... no<br>
> configure: svn revision: 845<br>
> checking for gdal-config... /usr/bin/gdal-config<br>
> checking gdal-config usability... yes<br>
> configure: GDAL: 3.1.0<br>
> checking GDAL version >= 1.11.4... yes<br>
> checking GDAL version <= 2.5 or >= 3.0... yes<br>
> checking gdal: linking with --libs only... yes<br>
> checking GDAL: gdal-config data directory readable... yes<br>
> checking GDAL: /usr/share/gdal/pcs.csv readable... no<br>
> configure: pkg-config proj exists, will use it<br>
> configure: PROJ version: 6.3.0<br>
> configure: Support for PROJ >= 6.0.0 not yet available, deprecated API defined<br>
> configure: proj CPP flags: -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I/usr/local/include<br>
> configure: PROJ LIBS: -L/usr/local/lib -lproj<br>
> checking PROJ header API:... proj_api.h<br>
> checking proj_api.h presence and usability... yes<br>
> checking PROJ version agreement... yes<br>
> checking PROJ version >= 4.8.0... yes<br>
> /usr/bin/ld: cannot find -lsqlite3<br>
> collect2: error: ld returned 1 exit status<br>
> ./configure: line 2437: ./proj_conf_test2: No such file or directory<br>
> checking PROJ: proj.db found and readable... yes<br>
> configure: Package CPP flags:  -I/usr/include -I/usr/local/include -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H<br>
> configure: Package LIBS:  -L/usr/lib -lgdal -L/usr/local/lib -lproj<br>
> configure: creating ./config.status<br>
> config.status: creating src/Makevars<br>
> ** libs<br>
> g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include -I/usr/local/include -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I"/usr/local/lib/R/site-library/sp/include"   -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-t3diwe/r-base-3.6.2=. -fstack-protector-strong
 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c OGR_write.cpp -o OGR_write.o<br>
> g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include -I/usr/local/include -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I"/usr/local/lib/R/site-library/sp/include"   -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-t3diwe/r-base-3.6.2=. -fstack-protector-strong
 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c gdal-bindings.cpp -o gdal-bindings.o<br>
> gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -I/usr/include -I/usr/local/include -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I"/usr/local/lib/R/site-library/sp/include"   -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-t3diwe/r-base-3.6.2=. -fstack-protector-strong
 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c init.c -o init.o<br>
> gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -I/usr/include -I/usr/local/include -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I"/usr/local/lib/R/site-library/sp/include"   -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-t3diwe/r-base-3.6.2=. -fstack-protector-strong
 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c inverser.c -o inverser.o<br>
> gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -I/usr/include -I/usr/local/include -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I"/usr/local/lib/R/site-library/sp/include"   -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-t3diwe/r-base-3.6.2=. -fstack-protector-strong
 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c local_stubs.c -o local_stubs.o<br>
> g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include -I/usr/local/include -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I"/usr/local/lib/R/site-library/sp/include"   -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-t3diwe/r-base-3.6.2=. -fstack-protector-strong
 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c ogr_geom.cpp -o ogr_geom.o<br>
> gcc -std=gnu99 -I"/usr/share/R/include" -DNDEBUG -I/usr/include -I/usr/local/include -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I"/usr/local/lib/R/site-library/sp/include"   -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-t3diwe/r-base-3.6.2=. -fstack-protector-strong
 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c ogr_polygons.c -o ogr_polygons.o<br>
> g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include -I/usr/local/include -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I"/usr/local/lib/R/site-library/sp/include"   -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-t3diwe/r-base-3.6.2=. -fstack-protector-strong
 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c ogr_proj.cpp -o ogr_proj.o<br>
> g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include -I/usr/local/include -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I"/usr/local/lib/R/site-library/sp/include"   -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-t3diwe/r-base-3.6.2=. -fstack-protector-strong
 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c ogrdrivers.cpp -o ogrdrivers.o<br>
> g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include -I/usr/local/include -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I"/usr/local/lib/R/site-library/sp/include"   -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-t3diwe/r-base-3.6.2=. -fstack-protector-strong
 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c ogrsource.cpp -o ogrsource.o<br>
> g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include -I/usr/local/include -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I"/usr/local/lib/R/site-library/sp/include"   -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-t3diwe/r-base-3.6.2=. -fstack-protector-strong
 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c proj_info6.cpp -o proj_info6.o<br>
> g++ -std=gnu++11 -I"/usr/share/R/include" -DNDEBUG -I/usr/include -I/usr/local/include -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H -I"/usr/local/lib/R/site-library/sp/include"   -fpic  -g -O2 -fdebug-prefix-map=/build/r-base-t3diwe/r-base-3.6.2=. -fstack-protector-strong
 -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g  -c projectit.cpp -o projectit.o<br>
> g++ -std=gnu++11 -shared -L/usr/lib/R/lib -Wl,-Bsymbolic-functions -Wl,-z,relro -o rgdal.so OGR_write.o gdal-bindings.o init.o inverser.o local_stubs.o ogr_geom.o ogr_polygons.o ogr_proj.o ogrdrivers.o ogrsource.o proj_info6.o projectit.o -L/usr/lib -lgdal
 -L/usr/local/lib -lproj -L/usr/lib/R/lib -lR<br>
> installing to /usr/local/lib/R/site-library/00LOCK-rgdal/00new/rgdal/libs<br>
> ** R<br>
> ** data<br>
> ** inst<br>
> ** byte-compile and prepare package for lazy loading<br>
> ** help<br>
> *** installing help indices<br>
> ** building package indices<br>
> ** installing vignettes<br>
> ** testing if installed package can be loaded from temporary location<br>
> Error: package or namespace load failed for 'rgdal' in dyn.load(file, DLLpath = DLLpath, ...):<br>
> unable to load shared object '/usr/local/lib/R/site-library/00LOCK-rgdal/00new/rgdal/libs/rgdal.so':<br>
>  /usr/local/lib/R/site-library/00LOCK-rgdal/00new/rgdal/libs/rgdal.so: undefined symbol: proj_list_operations<br>
> Error: loading failed<br>
> Execution halted<br>
> ERROR: loading failed<br>
> * removing '/usr/local/lib/R/site-library/rgdal'<br>
><br>
> The downloaded source packages are in<br>
>        '/tmp/RtmpeD6Lq2/downloaded_packages'<br>
> Warning message:<br>
> In install.packages("rgdal", repos = "<a href="https://clicktime.symantec.com/3GfSmsMNhbeBczexqVoajwb6H2?u=http%3A%2F%2Fcran.rstudio.com"" target="_blank">https://clicktime.symantec.com/3GfSmsMNhbeBczexqVoajwb6H2?u=http%3A%2F%2Fcran.rstudio.com"</a>,  :<br>
>  installation of package 'rgdal' had non-zero exit status<br>
><br>
><br>
><br>
> Here the dockerfile:<br>
><br>
><br>
> FROM osgeo/gdal:ubuntu-small-latest<br>
><br>
> ENV DEBIAN_FRONTEND=noninteractive<br>
><br>
> #######################<br>
> ### Install<br>
> RUN apt-get update && apt-get install -y\<br>
> zip\<br>
> bc\<br>
> curl\<br>
> lsb-release\<br>
> libfreetype6\<br>
> #r-base\<br>
> default-jre\<br>
> pkg-config\<br>
> wget\<br>
> git\<br>
> libproj-dev\<br>
> proj-data\<br>
> proj-bin\<br>
> libcurl4-openssl-dev\<br>
> python-pip && \<br>
> pip install pip==9.0.1 && \<br>
> pip install\<br>
> numpy==1.14.1 \<br>
> Jinja2 \<br>
> geojson \<br>
> requests \<br>
> rasterstats \<br>
> pandas \<br>
> pyshp \<br>
> Pillow \<br>
> scipy<br>
><br>
> RUN apt install -y apt-transport-https software-properties-common<br>
> RUN gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9<br>
> RUN gpg -a --export E298A3A825C0D65DFD57CBB651716619E084DAB9 | apt-key add -<br>
> RUN add-apt-repository 'deb <a href="https://clicktime.symantec.com/3Ka35BLL2A238jXqRigSBNG6H2?u=https%3A%2F%2Fcloud.r-project.org%2Fbin%2Flinux%2Fubuntu" target="_blank">
https://clicktime.symantec.com/3Ka35BLL2A238jXqRigSBNG6H2?u=https%3A%2F%2Fcloud.r-project.org%2Fbin%2Flinux%2Fubuntu</a> bionic-cran35/' && \<br>
>    apt-get update<br>
><br>
> RUN apt install -y r-base r-base-core r-recommended<br>
><br>
> RUN R --version<br>
><br>
> ENV GDAL_DATA /usr/share/gdal/<br>
> ENV PROJ_LIB /usr/share/proj/<br>
><br>
> RUN R -e "install.packages('rgdal', repos='<a href="https://clicktime.symantec.com/3GfSmsMNhbeBczexqVoajwb6H2?u=http%3A%2F%2Fcran.rstudio.com'" target="_blank">https://clicktime.symantec.com/3GfSmsMNhbeBczexqVoajwb6H2?u=http%3A%2F%2Fcran.rstudio.com'</a>,
 configure.args = c('--with-gdal-config=/usr/bin/gdal-config','--with-gdal-share=/usr/share/gdal', '--with-proj-include=/usr/include', '--with-proj-lib=/usr/share/proj'))"<br>
><br>
><br>
> Thanks,<br>
><br>
> Arnaud<br>
><br>
><br>
> ------------------------------------------------------------------------------<br>
><br>
> E-MAIL DISCLAIMER<br>
><br>
> The present message may contain confidential and/or legally privileged information. If you are not the intended addressee and in case of a transmission error, please notify the sender immediately and destroy this E-mail. Disclosure, reproduction or distribution
 of this document and its possible attachments is strictly forbidden.<br>
><br>
> SPACEBEL denies all liability for incomplete, improper, inaccurate, intercepted, (partly) destroyed, lost and/or belated transmission of the current information given that unencrypted electronic transmission cannot currently be guaranteed to be secure or
 error free.<br>
> Upon request or in conformity with formal, contractual agreements, an originally signed hard copy will be sent to you to confirm the information contained in this E-mail.<br>
><br>
> SPACEBEL denies all liability where E-mail is used for private use.<br>
><br>
> SPACEBEL cannot be held responsible for possible viruses that might corrupt this message and/or your computer system.<br>
> -------------------------------------------------------------------------------<br>
><br>
> _______________________________________________<br>
> R-sig-Geo mailing list<br>
> R-sig-Geo@r-project.org<br>
> <a href="https://clicktime.symantec.com/3EKFV2BJNqorZxbnuyiWfU6H2?u=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-sig-geo" target="_blank">
https://clicktime.symantec.com/3EKFV2BJNqorZxbnuyiWfU6H2?u=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-sig-geo</a><br>
><br>
<br>
--<br>
Roger Bivand<br>
Department of Economics, Norwegian School of Economics,<br>
Helleveien 30, N-5045 Bergen, Norway.<br>
voice: +47 55 95 93 55; e-mail: Roger.Bivand@nhh.no<br>
<a href="https://clicktime.symantec.com/3ZX1xpwrVfpy8rFktz4yCp6H2?u=https%3A%2F%2Forcid.org%2F0000-0003-2392-6140" target="_blank">https://clicktime.symantec.com/3ZX1xpwrVfpy8rFktz4yCp6H2?u=https%3A%2F%2Forcid.org%2F0000-0003-2392-6140</a><br>
<a href="https://clicktime.symantec.com/3B7fRQK9gSRQ3cKDJfFaY646H2?u=https%3A%2F%2Fscholar.google.no%2Fcitations%3Fuser%3DAWeghB0AAAAJ%26hl%3Den" target="_blank">https://clicktime.symantec.com/3B7fRQK9gSRQ3cKDJfFaY646H2?u=https%3A%2F%2Fscholar.google.no%2Fcitations%3Fuser%3DAWeghB0AAAAJ%26hl%3Den</a><br>
</div>
<br clear="both">
 ------------------------------------------------------------------------------<BR>
<BR>
E-MAIL DISCLAIMER<BR>
<BR>
The present message may contain confidential and/or legally privileged information. If you are not the intended addressee and in case of a transmission error, please notify the sender immediately and destroy this E-mail. Disclosure, reproduction or distribution of this document and its possible attachments is strictly forbidden.<BR>
<BR>
SPACEBEL denies all liability for incomplete, improper, inaccurate, intercepted, (partly) destroyed, lost and/or belated transmission of the current information given that unencrypted electronic transmission cannot currently be guaranteed to be secure or error free.<BR>
Upon request or in conformity with formal, contractual agreements, an originally signed hard copy will be sent to you to confirm the information contained in this E-mail.<BR>
<BR>
SPACEBEL denies all liability where E-mail is used for private use.<BR>
<BR>
SPACEBEL cannot be held responsible for possible viruses that might corrupt this message and/or your computer system.<BR>
 -------------------------------------------------------------------------------<BR>
</body>
</html>