Dockerfile 967 Bytes
Newer Older
zhangqha's avatar
zhangqha committed
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
FROM dptechnology/unicore:latest-pytorch1.11.0-cuda11.3

# metainformation
LABEL org.opencontainers.image.version = "2.0.0"
LABEL org.opencontainers.image.authors = "DP Technology"
LABEL org.opencontainers.image.source = "https://github.com/dptech-corp/Uni-Fold"
LABEL org.opencontainers.image.licenses = "Apache License 2.0"

# Use bash to support string substitution.
SHELL ["/bin/bash", "-c"]

RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
  hmmer \
  kalign

# Compile HHsuite from source.
RUN git clone --branch v3.3.0 https://github.com/soedinglab/hh-suite.git /tmp/hh-suite \
  && mkdir /tmp/hh-suite/build \
  && pushd /tmp/hh-suite/build \
  && cmake -DCMAKE_INSTALL_PREFIX=/opt/hhsuite .. \
  && make -j 4 && make install \
  && ln -s /opt/hhsuite/bin/* /usr/bin \
  && popd \
  && rm -rf /tmp/hh-suite

RUN ldconfig && \
  apt-get clean && \
  apt-get autoremove && \
  rm -rf /var/lib/apt/lists/* /tmp/* && \
  conda clean -ya