Skip to content

Instantly share code, notes, and snippets.

@slapers
Created February 22, 2017 17:29
Show Gist options
  • Save slapers/3e6237ce7a9070296c56023be9d64467 to your computer and use it in GitHub Desktop.
Save slapers/3e6237ce7a9070296c56023be9d64467 to your computer and use it in GitHub Desktop.
Thumbor docker
FROM python:2
RUN \
echo " ------ UPDATING AND INSTALLING SYSTEM DEPENDENCIES ------" \
&& apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y \
python-numpy \
python-opencv \
git \
curl \
build-essential \
libcurl4-openssl-dev \
libdc1394-22 \
libdc1394-22-dev \
libjpeg-dev \
libpng12-dev \
libtiff5-dev \
libjasper-dev \
libjpeg-turbo-progs \
&& apt-get -y autoremove \
&& apt-get clean
RUN \
echo " ------ INSTALLING THUMBOR ------" \
&& pip install thumbor \
&& pip install git+https://github.com/slapers/thumbor-cloud-storage.git \
&& mkdir -p thumbor; mkdir -p /etc/thumbor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment