add Dockerfiles

This commit is contained in:
PyYoshi 2015-09-07 17:37:02 +09:00
parent f819905230
commit 82fdab1281
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,5 @@
FROM python:3.4-wheezy
RUN pip install -U cython chardet nose
RUN git clone https://github.com/PyYoshi/cChardet.git /usr/local/src/cChardet

View file

@ -0,0 +1,9 @@
FROM python:slim
ENV BUILD_DEPS gcc g++
RUN apt-get update && apt-get install -y $BUILD_DEPS --no-install-recommends && rm -rf /var/lib/apt/lists/*
RUN pip install cchardet
RUN apt-get purge -y --auto-remove $BUILD_DEPS