adding the changes

This commit is contained in:
hamada-abdelaziz 2024-11-15 16:36:07 +02:00
parent 2d245e2fab
commit 47b72120fc

View file

@ -7,16 +7,16 @@ Create following `apps.json` file:
```json
[
{
"url": "https://github.com/frappe/erpnext",
"branch": "version-15"
"url": "https://github.com/frappe/insights",
"branch": "develop"
},
{
"url": "https://github.com/frappe/payments",
"branch": "version-15"
"url": "https://github.com/frappe/builder",
"branch": "develop"
},
{
"url": "https://{{ PAT }}@git.example.com/project/repository.git",
"branch": "main"
"url": "https://github.com/frappe/crm",
"branch": "develop"
}
]
```
@ -30,7 +30,7 @@ Note:
Generate base64 string from json file:
```shell
export APPS_JSON_BASE64=$(base64 -w 0 /path/to/apps.json)
export APPS_JSON_BASE64=$(base64 -i apps.json)
```
Test the Previous Step: Decode the Base64-encoded Environment Variable
@ -91,11 +91,11 @@ It uses `images/custom/Containerfile`.
```shell
docker build \
--build-arg=FRAPPE_PATH=https://github.com/frappe/frappe \
--build-arg=FRAPPE_BRANCH=version-15 \
--build-arg=PYTHON_VERSION=3.11.9 \
--build-arg=NODE_VERSION=18.20.2 \
--build-arg=FRAPPE_BRANCH=develop \
--build-arg=PYTHON_VERSION=3.12.3 \
--build-arg=NODE_VERSION=20.9.0 \
--build-arg=APPS_JSON_BASE64=$APPS_JSON_BASE64 \
--tag=ghcr.io/user/repo/custom:1.0.0 \
--tag=admin365/frappe_essentials:1.0.0 \
--file=images/custom/Containerfile .
```