Skip to content
This repository has been archived by the owner on Feb 22, 2020. It is now read-only.

Make the docker-compose documentation service reuse the caches from prediction and interface #159

Closed
2 tasks
reubano opened this issue Oct 15, 2017 · 1 comment

Comments

@reubano
Copy link
Contributor

reubano commented Oct 15, 2017

Overview

Currently, when running docker-compose -f local.yml build, the documentation service ignores the caches created by the prediction and interface services. This results in re-downloading all the python requirements.

Expected Behavior

The documentation service should use the available caches and not re-download any python requirements.

Technical details

Acceptance criteria

  • when running docker-compose -f local.yml build on a clean system, the python requirements files should not be downloaded by documentation service.
  • when running docker-compose -f local.yml build on a clean system, the documentation service should use the caches provided by the prediction and interface services.

NOTE: All PRs must follow the standard PR checklist.

@WGierke
Copy link
Contributor

WGierke commented Oct 23, 2017

A friend of mine proposes that we should build our own base image which is based on the union of the pip requirements. Those, the base image is only supposed to be compiled once. If services use different versions of a library, they have to install them themselves after the base image was created. Just throwing in my two cents :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants