Commit 8aa4747
authored
Support overriding base image via build arg (#571)
* Support overriding base image via build arg
Add BASE_IMAGE build arg to allow building Canasta with a custom
CanastaBase image. This enables the Canasta CLI's --build-from flag
to build both CanastaBase and Canasta from local source repositories.
Default behavior is unchanged (uses ghcr.io/canastawiki/canasta-base:1.0.7).
* Fix CI workflow to extract BASE_IMAGE from ARG line
The Dockerfile now uses an ARG for the base image instead of
hardcoding it in the FROM line. Update the awk command to parse
the default value from the ARG line.1 parent 9562717 commit 8aa4747
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
0 commit comments