Closed AdamSpannbauer closed 6 years ago
Note: file permissions are copied in Docker build. codeclimate-R needs user execute permissions added before build
chmod +x codeclimate-R
I need to review docs on including additional packages in docker builds. I thought this RUN instruction was correctly handling package installs, but appears it's not. Attempting to run resulting docker image runs into.
Error in library(lintr) : there is no package called ‘lintr’ Execution halted
@bmewing have you used rocker in a case like this before?
nvm, think I found the cause in the build output.
ERROR: dependency ‘httr’ is not available for package ‘lintr’
For posterity. The issue around lintr
+ httr
are the same as this issue. Instead of manually installing libcurl starting from rocker/r-base
I'm attempting to switch to rocker/rstudio
and see if that fixes install problems.
this fixed the lintr install problem. Closing this issue and opening up more specific issues for Dockerfile moving forward
Resources: