Skip to content

StevenUster/erpnext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ERPnext + Modules

Update apps.json

Add all modules you want to install to erpnext in the apps.json file.

Export ENV

export APPS_JSON_BASE64=$(base64 -w 0 ./apps.json)

Test ENV

echo -n ${APPS_JSON_BASE64} | base64 -d > apps-test-output.json

Clone repo

git clone https://github.com/frappe/frappe_docker
cd frappe_docker

Build image

docker build \
  --build-arg FRAPPE_PATH=https://github.com/frappe/frappe \
  --build-arg FRAPPE_BRANCH=version-15 \
  --build-arg APPS_JSON_BASE64=$APPS_JSON_BASE64 \
  --tag ghcr.io/stevenuster/erpnext/erpnext:latest-amd64 \
  --file images/layered/Containerfile .

Optional: multi-platform build image

# Build and push amd64 image
docker buildx build \
  --platform linux/amd64 \
  --build-arg FRAPPE_PATH=https://github.com/frappe/frappe \
  --build-arg FRAPPE_BRANCH=version-15 \
  --build-arg APPS_JSON_BASE64=$APPS_JSON_BASE64 \
  --tag ghcr.io/stevenuster/erpnext/erpnext:latest-amd64 \
  --file images/layered/Containerfile \
  --push .
# Build and push arm64 image
docker buildx build \
  --platform linux/arm64 \
  --build-arg FRAPPE_PATH=https://github.com/frappe/frappe \
  --build-arg FRAPPE_BRANCH=version-15 \
  --build-arg APPS_JSON_BASE64=$APPS_JSON_BASE64 \
  --tag ghcr.io/stevenuster/erpnext/erpnext:latest-arm64 \
  --file images/layered/Containerfile \
  --push .

Create manifest

docker manifest create ghcr.io/stevenuster/erpnext/erpnext:latest \
  --amend ghcr.io/stevenuster/erpnext/erpnext:latest-amd64 \
  --amend ghcr.io/stevenuster/erpnext/erpnext:latest-arm64

Push manifest

docker manifest push ghcr.io/stevenuster/erpnext/erpnext:latest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors