From 72ba4ddd223f9dea0cf5e6819362417a0051f8e6 Mon Sep 17 00:00:00 2001 From: Revant Nandgaonkar Date: Mon, 9 Jan 2023 21:22:34 +0530 Subject: [PATCH] docs: allow remove git remote for custom image --- docs/custom-apps.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/custom-apps.md b/docs/custom-apps.md index dbd073bc..3fd9763c 100644 --- a/docs/custom-apps.md +++ b/docs/custom-apps.md @@ -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 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 -- 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