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

manually run docker

This commit is contained in:
Jason N. 2024-02-26 09:13:59 -05:00
parent 8b04f82012
commit 218bb28db1
5 changed files with 57 additions and 13 deletions

View file

@ -56,8 +56,8 @@ boot.iso: lorax_templates/set_installer.tmpl lorax_templates/configure_upgrades.
mv $(_BASE_DIR)/results/images/boot.iso $(_BASE_DIR)/
# Step 3: Download container image
container/$(IMAGE_NAME)-$(IMAGE_TAG):
mkdir container || true
build/container/$(IMAGE_NAME)-$(IMAGE_TAG):
mkdir build/container || true
podman pull $(IMAGE_REPO)/$(IMAGE_NAME):$(IMAGE_TAG)
podman save --format oci-dir -o $(_BASE_DIR)/container/$(IMAGE_NAME)-$(IMAGE_TAG) $(IMAGE_REPO)/$(IMAGE_NAME):$(IMAGE_TAG)
podman rmi $(IMAGE_REPO)/$(IMAGE_NAME):$(IMAGE_TAG)