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