forked from benjiec/pychemy
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile.py2
36 lines (25 loc) · 885 Bytes
/
Dockerfile.py2
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
# Development Dockerfile to make testing easier under a standardized environment.
# XXX Do not use for production as-is
FROM python:2.7
LABEL maintainer Ginkgo Bioworks <devs@ginkgobioworks.com>
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install --assume-yes apt-utils
RUN apt-get install --assume-yes \
libopenbabel-dev \
openbabel \
swig
ARG GIT_USER_NAME="Pychemy Default"
ARG GIT_USER_EMAIL="devs@ginkgobioworks.com"
RUN git config --global user.name "$GIT_USER_NAME" \
&& git config --global user.email "$GIT_USER_EMAIL"
ARG DEBIAN_FRONTEND=noninteractive
ENV PYCHEMY_HOME=/usr/src/pychemy
RUN mkdir -p $PYCHEMY_HOME
WORKDIR $PYCHEMY_HOME
RUN pip install pip-tools==1.9.0
COPY requirements.txt ./
RUN pip install --requirement requirements.txt
COPY . ./
RUN pip install --editable .
CMD ["make", "test"]
# vim: set ft=dockerfile :