-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile.std
58 lines (40 loc) · 2.26 KB
/
Dockerfile.std
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
FROM ubuntu:20.04
USER root
ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Prague
ARG PEPTIDEBUILDER=https://github.com/mtien/PeptideBuilder.git
RUN apt update && apt install -y libxrender1 libxext6 git
# ENV USE_DAAL4PY_SKLEARN YES
RUN apt install -y python3-pip
RUN pip3 install tensorflow keras
RUN pip3 install jupyter jupyter-packaging
RUN pip3 install cython
RUN apt install -y zlib1g-dev
RUN pip3 install pydoe mdtraj nglview
RUN pip3 install biopython
RUN pip3 install sklearn
RUN pip3 install matplotlib
RUN jupyter nbextension enable nglview --py --sys-prefix
ARG ipy=/usr/local
RUN mkdir -p ${ipy}/share/jupyter/nbextensions && cd ${ipy}/share/jupyter/nbextensions && git clone https://github.com/lambdalisue/jupyter-vim-binding vim_binding && ${ipy}/bin/jupyter nbextension enable vim_binding/vim_binding --sys-prefix
WORKDIR /tmp
RUN git clone ${PEPTIDEBUILDER} && cd PeptideBuilder && git checkout bef233ac973700d72c40cce8417c2ada6fa40856 && tar cf - PeptideBuilder | (cd ${ipy}/lib/python3.8/dist-packages && tar xf -)
# RUN git clone https://github.com/spiwokv/anncolvar.git && cd anncolvar && git checkout 1cdb4f8866f3f39880415abaa095423cebc2fa03 && iconv -f utf-8 -t ascii//TRANSLIT README.rst >README.$$ && mv README.$$ README.rst
RUN git clone https://github.com/ljocha/anncolvar.git
# && cd anncolvar && iconv -f utf-8 -t ascii//TRANSLIT README.rst >README.$$ && mv README.$$ README.rst
RUN cd anncolvar && pip3 install .
RUN pip3 install pandas
ARG distribution=ubuntu18.04
RUN apt install -y curl gnupg
RUN curl -fsSLo /usr/share/keyrings/kubernetes-archive-keyring.gpg https://packages.cloud.google.com/apt/doc/apt-key.gpg
RUN bash -c "echo 'deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main' | tee /etc/apt/sources.list.d/kubernetes.list"
RUN apt update && apt install -y kubectl
RUN apt clean
WORKDIR /work
ENV HOME /work
RUN mkdir -p /work
RUN chown 1001:1001 /work
RUN mkdir /opt/chicken-and-egg/
COPY chicken-and-egg.ipynb ions.mdp md.mdp.template minim-sol.mdp minim.mdp.template minim.sh ncores.sh npt.mdp nvt.mdp xvg.py config.py start-notebook.sh gmx-k8s minim-k8s /opt/chicken-and-egg/
ENV PATH ${ipy}/bin:/opt/chicken-and-egg:${PATH}
# RUN apt update && apt install -y strace