| Summary: | Please help me install these dependencies libjpeg8 libjpeg8-dev build-dep python-imaging | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | Nhan <nhantrantnt> |
| Component: | Build | Assignee: | Cesar Wong <cewong> |
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Wang Haoran <haowang> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.x | CC: | aos-bugs, nhantrantnt, pweil, wewang |
| Target Milestone: | --- | Flags: | cewong:
needinfo?
(nhantrantnt) |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-10-14 20:08:38 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Nhan
2016-09-05 00:40:34 UTC
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? |