Allow configuration of local pypi mirror
Currently it is not possible to use local pypi mirror for installing packages with pip. Need functionality to allow it.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Vladislav Belogrudov
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Superseded
- Series goal:
- None
- Implementation:
- Not started
- Milestone target:
- None
- Started by
- Completed by
- Sam Yaple
Related branches
Related bugs
Sprints
Whiteboard
It seems this issue could be related to the proxy issue and fixed by the same means if we want. Would a user customizable block in the Dockerfile for the *-base images work for you? This would allow you to create a block of custom RUN code and setup the appropriate pip conf to point to a local pypi mirror. What are your thoughts? --SamYaple
Yes, it is similar to proxy issue. I also tried docker 1.8 with --build-env patch - this solves both proxy and local pypi mirror problems. Though we never know if it really goes into docker some day. Custom RUN block would work for local pypi configuration. - vbel
Please note, other package sources such as yum mirrors needs to be considered here also -pbourke
With the inclusion of the header and footer flags, can this blueprint be considered superseded and closed as such? --SamYaple
yes, local pypi mirror works with custom header, tested by us quite successfully --vbel
Per vbels comment I am marking this superceeded --SamYaple