1.6 KiB
1.6 KiB
Automatic Dockerization of official Saleor app
In this repo I created bash scripts and modifications to Saleor that allow for building docker images with a few commands, while staying uptodate with upstream saleor repos.
Current apps in repo:
- saleor/apps
- avatax
- cms-v2¹
- crm¹
- data-importer
- emails-and-messages
- invoices
- klaviyo
- products-feed
- search
- segment¹
- slack¹
- smtp¹
- taxjar
- saelor/abandoned-checkouts
- saelor/payment-stripe
- saelor/payment-klarna
- saelor/payment-authorize.net¹
¹ - doesn't build yet :(, Some I am able to fix later, some prolly not
Caveats
All apps from saleor/apps are upwards of 1.5gb in size, because of this pnpm workspace error
How to use
./changes.sh
- applies git patches and batch edits via rust to add RedisAPL to all apps, and allow them to build via other tweaks.cargo make build-all
orcargo make build-<Chosen app>
if you want to push built images to a repo, change the top env CONTAINER_PUSH_URL
to your repo, for example "ghcr.io/djkato".
Then you can do
cargo make push-all
orAPP=<Chosen app> cargo make push
Prerequisites
- cargo
- cargo-make
- linux shell (bash)
- rust stuff
- git
Thanks Saleor for providing all these apps. Shame Saleor refuses to containerize them officially. Hope this repo helps you. If it does, consider buying me a langosz (donation button on top)!