I have a docker container apache/zeppelin:0.9.0 successfully running. The name of the container is "zeppelin". I’ve tried to install "RPostgres" package by running following command:
docker exec -it -u root zeppelin R -e "install.packages('RPostgres', repos = 'http://cran.us.r-project.org')"
but following error message is shown for every dependency compilation:
/opt/conda/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/bin/ld: cannot find -lgcc
Source: Docker Questions