Go to file
JasonFraser b0805a0434 Fix cross-platform build: push linux/amd64, keep local builds on host arch
Confirmed the hard way on a real Dokploy deploy: a plain `docker build` on
this Apple Silicon Mac produces an arm64-only image, so the amd64 Dokploy
VPS failed to pull either custom image ("no matching manifest for
linux/amd64") for configurator/backend/frontend (erpnext-image) and
backend-billing alike.

Both build.sh scripts now branch on whether BACKEND_BILLING_IMAGE/
CUSTOM_IMAGE is a registry path: a bare local tag still builds for this
machine's own architecture (so it runs immediately for local dev), while
a registry path builds specifically for linux/amd64 via buildx (with
--push, since a cross-platform result can't be loaded into the local
image store) — matching the actual Dokploy VPS target regardless of what
architecture the build machine is.

erpnext-image/build.sh previously had no push step at all; added one
following the same pattern.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012pc2x7vyuUofdT3kLuqF3Y
2026-10-02 07:20:35 -04:00
.agents/skills Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
backend Fix cross-platform build: push linux/amd64, keep local builds on host arch 2026-10-02 07:20:35 -04:00
backup Retire backend/.env for durable Dokploy env vars; pre-build backend-billing image 2026-10-02 06:07:57 -04:00
erpnext-image Fix cross-platform build: push linux/amd64, keep local builds on host arch 2026-10-02 07:20:35 -04:00
frappe_docker@380b9d069a Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
playbook Retire backend/.env for durable Dokploy env vars; pre-build backend-billing image 2026-10-02 06:07:57 -04:00
provisioning Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
.env.example Retire backend/.env for durable Dokploy env vars; pre-build backend-billing image 2026-10-02 06:07:57 -04:00
.gitignore Retire backend/.env for durable Dokploy env vars; pre-build backend-billing image 2026-10-02 06:07:57 -04:00
.gitmodules Repoint frappe_docker submodule to a self-hosted mirror 2026-10-01 20:23:16 -04:00
API_INTEGRATION.md Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
CLAUDE.md Retire backend/.env for durable Dokploy env vars; pre-build backend-billing image 2026-10-02 06:07:57 -04:00
UI_DESIGN_THEME.md Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
bettersightbox-index.html Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
docker-compose.data-dir.yml Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00
docker-compose.dokploy.yml Retire backend/.env for durable Dokploy env vars; pre-build backend-billing image 2026-10-02 06:07:57 -04:00
docker-compose.yml Retire backend/.env for durable Dokploy env vars; pre-build backend-billing image 2026-10-02 06:07:57 -04:00
generate-dokploy-compose.sh Drop depends_on's required: sub-key for Dokploy too 2026-10-02 05:24:26 -04:00
inventory-implementation-training-guide.docx Initial commit: Sightbox Phase 0 — native ERPNext deployment 2026-10-01 20:10:06 -04:00