1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00

feat: Allow building from an oci-archive tarball

This commit is contained in:
Gerald Pinder 2024-06-10 21:01:11 -04:00
parent e0e4de8f9a
commit d4917f64ea
3 changed files with 12 additions and 2 deletions

View file

@ -1,6 +1,9 @@
$(IMAGE_NAME)-$(IMAGE_TAG):
skopeo copy docker://$(IMAGE_REPO)/$(IMAGE_NAME):$(IMAGE_TAG) oci:$(IMAGE_NAME)-$(IMAGE_TAG)
$(IMAGE_NAME)-$(IMAGE_TAG)-tar:
skopeo copy oci-archive:$(IMAGE_TAR) oci:$(IMAGE_NAME):$(IMAGE_TAG)
install-deps:
$(install_pkg) skopeo
@ -8,4 +11,4 @@ FILES=$(filter-out Makefile,$(wildcard *))
clean:
ifneq ($(FILES),)
rm -Rf $(FILES)
endif
endif