R -e "install.packages('devtools', repos='http://cran.rstudio.com')"
results in
------------------------- ANTICONF ERROR ---------------------------
Configuration failed because libxml-2.0 was not found. Try installing:
* deb: libxml2-dev (Debian, Ubuntu, etc)
* rpm: libxml2-devel (Fedora, CentOS, RHEL)
* csw: libxml2_dev (Solaris)
Solution:
The container's Debian 9 does not contain libxml2-dev.
After adding it to the dependencies the image builds without errors and the container runs as expected.
The command
results in
Solution: The container's Debian 9 does not contain libxml2-dev. After adding it to the dependencies the image builds without errors and the container runs as expected.