forked from pymssql/pymssql
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
33 lines (27 loc) · 964 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
# --------------------------------------------------------------------------
# This is a Dockerfile to build an Ubuntu 14.04 Docker image with
# pymssql and FreeTDS
#
# Use a command like:
# docker build -t pymssql/pymssql .
# --------------------------------------------------------------------------
FROM orchardup/python:2.7
MAINTAINER Marc Abramowitz <[email protected]> (@msabramo)
# Install apt packages
RUN apt-get update && apt-get install -y \
freetds-bin \
freetds-common \
freetds-dev
RUN pip install Cython
RUN pip install ipython
RUN pip install SQLAlchemy
RUN pip install pandas
RUN pip install Alembic
RUN pip install pytest pytest-timeout
RUN pip install gevent
# Add source directory to Docker image
# Note that it's beneficial to put this as far down in the Dockerfile as
# possible to maximize the chances of being able to use image caching
ADD . /opt/src/pymssql/
RUN pip install /opt/src/pymssql
CMD ["ipython"]