The current Docker container handling approach is heavily depends on ccdlstaging registry for local testing/deployment. This PR introduces a way to change the behaviour by using DOCKERHUB_REPO env variable and addresses a bunch of other smaller problems I noticed during refine.bio images building:
Isolate local/staging Docker registries
Change -d/-r deployment flags meaning
Add existing image based cache
Consolidate api/common/workers images build logic
Introduce prepare_image.sh -u flag
Introduce update_my_docker_images.sh -b/-x flags (remote builder and architecture)
Unify source operation syntax
Reformat .sh files
Standardize docker command options format
Functional tests
NA
Checklist
[x] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules
Purpose/Implementation Notes
The current Docker container handling approach is heavily depends on
ccdlstaging
registry for local testing/deployment. This PR introduces a way to change the behaviour by usingDOCKERHUB_REPO
env variable and addresses a bunch of other smaller problems I noticed during refine.bio images building:-d
/-r
deployment flags meaning-u
flag-b
/-x
flags (remote builder and architecture)source
operation syntaxFunctional tests
NA
Checklist
Screenshots
NA