Commit graph

3 commits

Author SHA1 Message Date
Bojan Čekrlić
42078d5017 Fix: Fix multiplatform build caching issues
So, alpine will download platform-specific cache files, meaning that
when another platform tries to use the cache, it will fail with
packages not being found.
2022-06-09 15:32:07 +02:00
Bojan Čekrlić
7a22e1817d Fix: Run update before installing Alpine packages 2022-04-13 12:51:39 +02:00
Bojan Čekrlić
a6d10e6a13 Upd: Refactor Dockerfile and cache local builds
This refactor simplifies the `Dockerfile` by considerable amount:
new features of mobykit buildkit allow us to cache `apt`/`apk`
folder (so no need to delete `/var/lib/cache`) as well as extract
the build / install logic into separate files, which removes the
need for `&& \` and makes the code *much more* readable.

`build.sh` script has been updated as well to allow caching local
builds when testing, making it much more easier to test.
2022-04-13 09:57:46 +02:00