From 82fdab128126698126db3757af317862106e0fa9 Mon Sep 17 00:00:00 2001 From: PyYoshi Date: Mon, 7 Sep 2015 17:37:02 +0900 Subject: [PATCH] add Dockerfiles --- dockerfiles/develop/Dockerfile | 5 +++++ dockerfiles/slim/Dockerfile | 9 +++++++++ 2 files changed, 14 insertions(+) create mode 100644 dockerfiles/develop/Dockerfile create mode 100644 dockerfiles/slim/Dockerfile diff --git a/dockerfiles/develop/Dockerfile b/dockerfiles/develop/Dockerfile new file mode 100644 index 0000000..75433cb --- /dev/null +++ b/dockerfiles/develop/Dockerfile @@ -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 diff --git a/dockerfiles/slim/Dockerfile b/dockerfiles/slim/Dockerfile new file mode 100644 index 0000000..b9de620 --- /dev/null +++ b/dockerfiles/slim/Dockerfile @@ -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