forked from soedinglab/hh-suite
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (18 loc) · 700 Bytes
/
Copy pathDockerfile
File metadata and controls
27 lines (18 loc) · 700 Bytes
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
FROM debian:stable-slim as builder
RUN apt-get update && apt-get install -y \
build-essential cmake xxd ninja-build \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /opt/hh-suite
ADD . .
WORKDIR /opt/hh-suite/build
RUN cmake -G Ninja -DHAVE_SSE2=1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local/hh-suite ..
RUN ninja && ninja install
FROM debian:stable-slim
MAINTAINER Milot Mirdita <milot@mirdita.de>
RUN apt-get update && apt-get install -y \
libstdc++6 libgomp1 \
&& rm -rf /var/lib/apt/lists/*
COPY --from=builder /usr/local/hh-suite /usr/local/hh-suite
ENV HHLIB=/usr/local/hh-suite
ENV PATH="/usr/local/hh-suite/bin:/usr/local/hh-suite/scripts:${PATH}"
CMD ["hhblits"]