diff options
author | Christoph Helma <helma@in-silico.ch> | 2018-08-07 20:19:17 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2018-08-07 20:19:17 +0200 |
commit | 97e65d06feba57b45f55c8b83549b8b5350d3e7a (patch) | |
tree | 209643b570a0d0a492216f84fda77459dcc5643c /Dockerfile |
initial commit
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e6f40a7 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,53 @@ +FROM base/archlinux +MAINTAINER in-silico toxicology GmbH + +RUN pacman-db-upgrade +RUN pacman -Syyu --noconfirm +RUN pacman -S --noconfirm \ + base-devel \ + boost-libs \ + cmake \ + eigen3 \ + fontconfig \ + gcc-fortran \ + git \ + gsl \ + jre10-openjdk-headless \ + mongodb \ + mongodb-tools \ + r \ + ruby \ + swig \ + vim \ + wget +RUN pacman -Scc --noconfirm + +RUN useradd -ms /bin/bash ist +RUN echo "ist ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers + +RUN mkdir -p /data/db +USER ist +WORKDIR /home/ist + +RUN sudo R -e "install.packages('Rserve', repos='http://rforge.net/')" + +RUN echo 'gem: --user-install --no-document' > ~/.gemrc +RUN export GEM_HOME=$(ruby -e 'print Gem.user_dir') +ENV PATH $PATH:$GEM_HOME/bin +#RUN bundle config --global silence_root_warning 1 + +RUN git clone https://github.com/opentox/lazar.git +WORKDIR lazar +RUN git checkout "development" +RUN ruby ext/lazar/extconf.rb +RUN gem install bundler +RUN bundle install +RUN git checkout -b "mutanew" +USER root +RUN pacman -S catdoc +# set environment vars +# start mongo and R +USER ist +WORKDIR /home/ist +#EXPOSE 22 +#ENTRYPOINT ["/usr/bin/sshd -D"] |