Hide Forgot
Description of problem: I am running Django 1.10 and this requires the dependencies below to work properly libjpeg8 libjpeg8-dev build-dep python-imaging I have tried apt-get and yum, but no luck. Could you please please help me? $ apt-get install libjpeg8 libjpeg8-dev $ apt-get build-dep python-imaging Version-Release number of selected component (if applicable): How reproducible: VERY Steps to Reproduce: 1. Install Mezzanine + Django following this http://mezzanine.jupo.org/ 2. Put that django/python app on openshift 3. deploy. When you try to upload the image to the website, some features such as generating thumbnail doesn't work because of the missing dependencies I just need to install the above packages!
You need to be root inside the container in order to install additional packages. You can create your own builder image that includes your dependencies: ----- FROM openshift/python-33-centos7:latest # Switch to root USER root # Install your packages RUN yum -y install [ ... your dependencies here ... ] # Reset the user USER 1001 ----- Build that image locally and push it to docker hub or to the OpenShift online registry. Then use that image to build your source code.
Did the above suggestion solve your problem?