FROM ubuntu:18.04
RUN apt-get update -qq
RUN apt-get -qq -y install software-properties-common
RUN add-apt-repository ppa:linuxuprising/java -y
RUN apt-get update -qq
RUN echo debconf shared/accepted-oracle-license-v1-1 select true | debconf-set-selections
RUN echo debconf shared/accepted-oracle-license-v1-1 seen true | debconf-set-selections
RUN echo debconf shared/accepted-oracle-license-v1-2 select true | debconf-set-selections
RUN echo debconf shared/accepted-oracle-license-v1-2 seen true | debconf-set-selections
RUN apt-get -qq -y install oracle-java13-installer
RUN apt-get -qq -y install maven
RUN apt-get -qq -y install git
RUN apt-get -qq -y install curl
RUN apt-get -qq -y install htop
RUN DEBIAN_FRONTEND=noninteractive apt-get -qq -y install r-base
RUN R -e "install.packages('ggplot2')"
RUN R -e "install.packages('ggforce')"
RUN apt-get -qq -y install ssh
RUN echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
RUN mkdir /run/sshd
RUN echo "root:caching-approaches-comparison" | chpasswd
EXPOSE 22
CMD ["/usr/sbin/sshd", "-D"]