-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile-vina
36 lines (24 loc) · 1020 Bytes
/
Dockerfile-vina
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
# AutoDock-Vina-Docker
# https://github.com/Metaphorme/AutoDock-Vina-Docker
# MIT License
# Copyright (c) 2022 Metaphorme <https://github.com/Metaphorme>
FROM ubuntu:latest as builder
ARG BRANCHES
RUN /bin/bash -c " \
set -ex \
&& apt-get update; apt-get install -y swig curl build-essential git libboost-all-dev \
&& git clone -b $BRANCHES https://github.com/ccsb-scripps/AutoDock-Vina /app/AutoDock-Vina \
&& cd /app/AutoDock-Vina/build/linux/release; make \
"
FROM scratch
ARG BRANCHES
LABEL org.opencontainers.image.authors="Metaphorme" \
org.opencontainers.image.document="https://github.com/Metaphorme/AutoDock-Vina-Docker" \
org.opencontainers.image.description="Build from ${BRANCHES}" \
org.opencontainers.image.licenses="MIT" \
org.opencontainers.image.name="vina"
COPY --from=builder /app/AutoDock-Vina/build/linux/release/vina /
COPY --from=builder /app/AutoDock-Vina/build/linux/release/vina_split /
VOLUME /data
WORKDIR /data
ENV PATH=$PATH:/:/data/