docs: allow remove git remote for custom image

This commit is contained in:
Revant Nandgaonkar 2023-01-09 21:22:34 +05:30
parent 1471aca5cd
commit 72ba4ddd22

View file

@ -51,7 +51,7 @@ Note:
- Make sure `APPS_JSON_BASE64` variable has correct base64 encoded JSON string. It is consumed as build arg, base64 encoding ensures it to be friendly with environment variables - Make sure `APPS_JSON_BASE64` variable has correct base64 encoded JSON string. It is consumed as build arg, base64 encoding ensures it to be friendly with environment variables
- Make sure the `--tag` is valid image name that will be pushed to registry. - Make sure the `--tag` is valid image name that will be pushed to registry.
- Change `--build-arg` as per version of Python, NodeJS, Frappe Framework repo and branch - Change `--build-arg` as per version of Python, NodeJS, Frappe Framework repo and branch
- The final image will have no traces of `.git` directory for any apps including frappe framework. - Set `--build-arg=REMOVE_GIT_REMOTE=true` to remove git upstream remotes from all apps. Use this in case they have secrets or private tokens and you don't wish to ship them in final image.
### Push image to use in yaml files ### Push image to use in yaml files