Created
February 22, 2017 17:29
-
-
Save slapers/3e6237ce7a9070296c56023be9d64467 to your computer and use it in GitHub Desktop.
Thumbor docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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