add Dockerfiles
This commit is contained in:
parent
f819905230
commit
82fdab1281
2 changed files with 14 additions and 0 deletions
5
dockerfiles/develop/Dockerfile
Normal file
5
dockerfiles/develop/Dockerfile
Normal 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
|
9
dockerfiles/slim/Dockerfile
Normal file
9
dockerfiles/slim/Dockerfile
Normal 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
|
Loading…
Reference in a new issue