##// END OF EJS Templates
Fix python 2 compatibility
Fix python 2 compatibility

File last commit:

r1210:45621c4da22a
r1333:ac63616fef28 v3.0.0b2
Show More
Dockerfile
26 lines | 540 B | text/x-dockerfile-config | DockerLexer
FROM python:3.7-slim
RUN apt-get clean && apt-get update && apt-get install -y --no-install-recommends \
git \
gcc \
libpng-dev \
libfreetype6-dev \
libopenblas-dev \
liblapack-dev \
libatlas-base-dev \
libssl-dev \
libhdf5-dev \
&& git clone --branch v3.0-devel --depth 1 \
http://jro-dev.igp.gob.pe/rhodecode/schain \
&& pip install numpy \
&& cd schain \
&& pip install . \
&& rm -rf * \
&& apt-get purge -y --auto-remove git gcc \
&& rm -rf /var/lib/apt/lists/*
ENV BACKEND="Agg"
VOLUME /data
ENTRYPOINT ["schain"]