HomeSoftware Heritage

refactor a bit

Description

refactor a bit

  • move every docker build material in a per-container dedicated directory
  • use entrypoint.sh files as entrypoints
  • simplify a lot the Dockerfile: we only pip install what's necessary, the possibility of using swh packages from sources is done by detecting and installing every repo found in /src/swh-*. It's the responsibility of the user to mount local source directories via docker volumes.
  • rewrite the docker-compose file accordingly, using env vars when needed.

Details

Provenance
douarddaAuthored on Dec 13 2018, 2:18 PM
douarddaPushed on Dec 13 2018, 3:35 PM
Differential Revision
D811: docker-dev: Make the docker-compose actually composable!
Parents
rCDFD51599c0ef816: Makefile: Add back the run dependency to build
Branches
Unknown
Tags
Unknown