Task #5060
closedTask #5069: Build pulp 3 containers
Rework 4 existing container images into 1 image with 4 different entrypoints
100%
Description
In order to avoid container image layering sprawl, especially when building the container images with different sets of plugins, we need to go from 4 container images:
pulp-api
pulp-content (based on pulp-api)
pulp-worker (based on pulp-api)
pulp-resource-manager (based on pulp-api)
To just one image.
(Name will depend on whether plugins are installed, and which ones).
It will be the responsbility of the operator/script to call the 4 different entrypoints, 1 for each service/container.
The image will need to provide commands (with stable paths) that encapsulate all that I need to be done for each service/container. Right now it may only be a command with a symlink, but later on it may be a script. For example:
/usr/bin/entrypoint-pulp-api
/usr/bin/entrypoint-pulp-content
/usr/bin/entrypoint-pulp-resource-manager
/usr/bin/entrypoint-pulp-worker
Collapse 4 container images into 1.
They will be used as 4+ different containers by specifying different commands.
Fixes #5060