mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-23 00:05:09 +00:00
adding the changes
This commit is contained in:
parent
2d245e2fab
commit
47b72120fc
1 changed files with 12 additions and 12 deletions
|
|
@ -7,16 +7,16 @@ Create following `apps.json` file:
|
||||||
```json
|
```json
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"url": "https://github.com/frappe/erpnext",
|
"url": "https://github.com/frappe/insights",
|
||||||
"branch": "version-15"
|
"branch": "develop"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"url": "https://github.com/frappe/payments",
|
"url": "https://github.com/frappe/builder",
|
||||||
"branch": "version-15"
|
"branch": "develop"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"url": "https://{{ PAT }}@git.example.com/project/repository.git",
|
"url": "https://github.com/frappe/crm",
|
||||||
"branch": "main"
|
"branch": "develop"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
```
|
```
|
||||||
|
|
@ -30,7 +30,7 @@ Note:
|
||||||
Generate base64 string from json file:
|
Generate base64 string from json file:
|
||||||
|
|
||||||
```shell
|
```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
|
Test the Previous Step: Decode the Base64-encoded Environment Variable
|
||||||
|
|
@ -91,11 +91,11 @@ It uses `images/custom/Containerfile`.
|
||||||
```shell
|
```shell
|
||||||
docker build \
|
docker build \
|
||||||
--build-arg=FRAPPE_PATH=https://github.com/frappe/frappe \
|
--build-arg=FRAPPE_PATH=https://github.com/frappe/frappe \
|
||||||
--build-arg=FRAPPE_BRANCH=version-15 \
|
--build-arg=FRAPPE_BRANCH=develop \
|
||||||
--build-arg=PYTHON_VERSION=3.11.9 \
|
--build-arg=PYTHON_VERSION=3.12.3 \
|
||||||
--build-arg=NODE_VERSION=18.20.2 \
|
--build-arg=NODE_VERSION=20.9.0 \
|
||||||
--build-arg=APPS_JSON_BASE64=$APPS_JSON_BASE64 \
|
--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 .
|
--file=images/custom/Containerfile .
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue