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

move some actions to makefile

This commit is contained in:
Jason N. 2024-03-27 15:15:54 -04:00
parent a6aeab7ac9
commit 60ef06188d
9 changed files with 119 additions and 87 deletions

View file

@ -2,8 +2,7 @@ $(IMAGE_NAME)-$(IMAGE_TAG):
skopeo copy docker://$(IMAGE_REPO)/$(IMAGE_NAME):$(IMAGE_TAG) oci:$(IMAGE_NAME)-$(IMAGE_TAG)
install-deps:
if [ "$(PACKAGE_MANAGER)" =~ apt.* ]; then $(PACKAGE_MANAGER) update; fi
$(PACKAGE_MANAGER) install -y skopeo
$(install_pkg) skopeo
FILES=$(filter-out Makefile,$(wildcard *))
clean: