2015-09-07 16:57:39 +08:00
|
|
|
FROM python:3.4-slim
|
2015-09-07 16:37:02 +08:00
|
|
|
|
|
|
|
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
|