diff --git a/images/koolbox/Earthfile b/images/koolbox/Earthfile index cb4855f5b73cc96e3c615940bf550085327cd323..01613226ebaf6391b8e8a8e97396e245713f1b00 100644 --- a/images/koolbox/Earthfile +++ b/images/koolbox/Earthfile @@ -84,4 +84,9 @@ container: FROM +container-internal LABEL "quay.expires-after"="12w" END - SAVE IMAGE --push ${registry}:${tag} \ No newline at end of file + SAVE IMAGE --push ${registry}:${tag} + +install: + BUILD +container --latest=true + LOCALLY + RUN install -m 755 ./koolbox ~/bin/koolbox diff --git a/images/koolbox/README.md b/images/koolbox/README.md index 9d248b3d54beacb30133528d2a6a3f79975fb17a..90f93761fd3c2f28ce7912b229a96a9d5b27fe8d 100644 --- a/images/koolbox/README.md +++ b/images/koolbox/README.md @@ -13,7 +13,7 @@ Have podman installed. And in best case running [Fedora Workstation](https://get Installation --- -Run `make install`. And if you want to build the container locally run `make build`. +Run `earthly ./+install`. And if you want to build the container locally run `earthly ./+container`. Usage --- diff --git a/images/synadm/Earthfile b/images/synadm/Earthfile index 9d9d8eb332171fc73e4d769175234e960744bf0d..337839aa1cb9f24ec7cef886b1fafa38c4e0e9d0 100644 --- a/images/synadm/Earthfile +++ b/images/synadm/Earthfile @@ -23,6 +23,6 @@ container: SAVE IMAGE --push ${registry}:${tag} install: - BUILD +container + BUILD +container --latest=true LOCALLY - RUN install -m 755 ./synadm ~/bin/synadm \ No newline at end of file + RUN install -m 755 ./synadm ~/bin/synadm \ No newline at end of file