-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
28 lines (21 loc) · 970 Bytes
/
Dockerfile
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
FROM mambaorg/micromamba:1.4.2
LABEL MAINTAINER="Anja Conev <[email protected]>"
# Create the environment:
COPY --chown=$MAMBA_USER:$MAMBA_USER ./environment.yml /tmp/environment.yml
RUN micromamba install -y -n base -f /tmp/environment.yml && \
micromamba clean --all --yes
ARG MAMBA_DOCKERFILE_ACTIVATE=1 # (otherwise python will not be found)
RUN echo $(python --version)
# Additional installations
RUN pip install -i https://test.pypi.org/simple/ engens
RUN git clone https://github.com/hsidky/hde.git
COPY hde.patch .
RUN cp hde.patch ./hde/hde.patch
RUN cd hde && echo $(ls) && git apply hde.patch
RUN pip install ./hde
COPY --chown=$MAMBA_USER:$MAMBA_USER ./dependencies/mTM-align.tar.bz2 /tmp/mTM-align.tar.bz2
RUN tar -xvf /tmp/mTM-align.tar.bz2 -C /tmp/
RUN cp /tmp/mTM-align/src/mTM-align ${CONDA_PREFIX}/bin/mTM-align \
&& rm /tmp/mTM-align.tar.bz2
RUN pypatch apply ./pdbfixer.patch pdbfixer
ADD --chown=$MAMBA_USER:$MAMBA_USER ./notebooks/ ${HOME}