[R-sig-Debian] Update on docker Python:3 and adding R:4.x
Dirk Eddelbuettel
edd @end|ng |rom deb|@n@org
Thu Jun 25 05:54:03 CEST 2020
On 24 June 2020 at 19:52, Dave Lange wrote:
| ## Now install R
| ## RUN apt install -t buster-cran40 r-base
It's just a guess but something I noticed working with one of my Dockerfiles
is that the above does not work too well -- I think due to the independence
of the 'layers' from each RUN command which I mentioned earlier. So when you
I run apt install, I now always update first so maybe try
RUN apt update && apt install -y r-base
instead. (I also removed the -t buster-cran40 as the 'highest version should
win'. That may or may not work. Adjust as needed.)
Dirk
--
http://dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org
More information about the R-SIG-Debian
mailing list