-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
46 lines (37 loc) · 956 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
ARG baseimage_version=xenial
FROM ubuntu:${baseimage_version}
ARG version=master
ARG VCS_REF
ARG BUILD_DATE
RUN echo "VCS_REF: "${VCS_REF}", BUILD_DATE: "${BUILD_DATE}", branch: "${version}
LABEL maintainer="[email protected]" \
description="Container for the omniCLIP package" \
version="v1.0.0" \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.build-date=$BUILD_DATE \
org.label-schema.vcs-url="https://github.com/ime-tools/CLIPper"
WORKDIR /opt/
RUN apt update && \
apt install --yes \
python \
git \
python-pip \
zlib1g-dev \
pkg-config \
libpng-dev \
libfreetype6-dev \
libbz2-dev \
liblzma-dev \
libcurl4-gnutls-dev && \
rm -rf /var/lib/apt/lists/*
RUN pip install cython \
numpy \
scipy \
pandas
RUN git clone git://github.com/YeoLab/clipper.git && \
cd clipper && \
python setup.py install && \
cd .. && \
clipper -h
VOLUME /data
WORKDIR /data/