rocker-org / rocker-versioned

Run current & prior versions of R using docker
https://hub.docker.com/r/rocker/r-ver
GNU General Public License v2.0
297 stars 169 forks source link

Error: Line starting '<html> ...' is malformed #111

Closed jtchittenden closed 5 years ago

jtchittenden commented 5 years ago

I am trying to build an r-ver 3.2.2 image using the r-ver/3.2.0 Dockerfile with --build_args:

docker build github.com/rocker-org/rocker-versioned#master:r-ver/3.2.0 -t rocker/r-ver:3.2.2 --build-arg R_VERSION=3.2.2 --build-arg BUILD_DATE=12-09-2015

But it fails midway through with this error:

Installing packages into ‘/usr/local/lib/R/site-library’ (as ‘lib’ is unspecified) Error: Line starting ' ...' is malformed! Execution halted

This also occurs if I just try to build the default 3.2.0 image. The default 3.5.0 image built successfully. Is this a known issue with these older versions? Or is there something one needs to do to build them sucessfully?

eddelbuettel commented 5 years ago

I think that error is most often indicative of an archive issue, or network problem. Make sure you can read that desired MRAN repo. It could even be transient there.

jtchittenden commented 5 years ago

Thanks @eddelbuettel , this was exactly the issue. Notice above that I've messed up the format of BUILD_DATE. I'll close this.