FROM dorowu/ubuntu-desktop-lxde-vnc:focal COPY requirements.txt . RUN apt-get update -qq && \ # Install Python. apt-get install -y \ python3 \ python3-pip && \ # Install Python packages. pip3 install -r requirements.txt && \ rm -f requirements.txt && \ # Install R. apt-get install -y \ r-base && \ Rscript -e "install.packages(c('littler', 'docopt'))" && \ cd /usr/local/bin && \ ln -s ../lib/R/site-library/littler/examples/install2.r && \ ln -s ../lib/R/site-library/littler/bin/r && \ # Install R packages. install2.r -e \ dplyr \ ggplot2