Public Repository

Last pushed: 6 months ago
Short Description
Short description is empty for this repo.
Full Description

FROM bitnami/minideb:jessie

RUN apt-get install -f && dpkg --configure -a

RUN apt-get update && apt-get install -y \
curl \
gcc \
libblas-dev \
liblapack-dev \
libatlas-base-dev \
gfortran \
g++ \
make \
locales \
python3 \
libpq-dev \
libffi6 \
libffi-dev \
python3-psycopg2 \
python3-setuptools \
python3-cffi \
python3-dev \
libssl-dev \
fontconfig \
binutils \
libproj-dev \
gdal-bin \
libgeos-dev \
python3-lxml \
libcairo2 \
libcairo2-dev \
libpango1.0-0 \
libgdk-pixbuf2.0-0 \
shared-mime-info \
fonts-font-awesome \
gettext \
libtiff5-dev \
libjpeg62-turbo-dev \
zlib1g-dev \
libfreetype6-dev \
liblcms2-dev \
libwebp-dev \
tcl8.6-dev \
tk8.6-dev \
python-tk \
libxml2-dev \
libxslt1-dev \
python3-setuptools \
file \
magic \
locales \
git

set en_US.UTF-8 locale

RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
echo 'LANG="en_US.UTF-8"'>/etc/default/locale && \
dpkg-reconfigure --frontend=noninteractive locales

ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
ENV LC_ALL en_US.UTF-8
RUN update-locale LANG=en_US.UTF-8 && update-locale LC_ALL=en_US.UTF-8

switch to python 3.5

RUN curl -OL https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz
RUN tar xvf Python-3.5.2.tgz && cd Python-3.5.2 && \
./configure --with-ensurepip=install --prefix=/usr/local && \
make -j8 && make install
RUN rm Python-3.5.2.tgz
RUN update-alternatives --install /usr/bin/python python /usr/local/bin/python3.5 1

RUN ls /usr/local/bin
RUN update-alternatives --install /usr/bin/pip pip /usr/local/bin/pip3.5 1 && pip3 install pip --upgrade

Docker Pull Command
Owner
lariat