Add docker and singularity files.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2024-04-15 19:25:26 +02:00
parent 49410eb128
commit 16c0c3e783
Signed by: GNUtoo
GPG Key ID: 5F5DFCC14177E263
1 changed files with 15 additions and 0 deletions

View File

@ -48,6 +48,8 @@ GUIX_PACK_COMMAND = \
$(PACK_NAME): \ $(PACK_NAME): \
$(RELEASE_DIR)/$(PACK_NAME)-deb-pack.deb \ $(RELEASE_DIR)/$(PACK_NAME)-deb-pack.deb \
$(RELEASE_DIR)/$(PACK_NAME)-docker-pack.tar.gz \
$(RELEASE_DIR)/$(PACK_NAME)-squashfs-pack.gz.squashfs \
$(RELEASE_DIR)/$(PACK_NAME)-tarball-pack.tar.gz \ $(RELEASE_DIR)/$(PACK_NAME)-tarball-pack.tar.gz \
$(RELEASE_DIR)/packages_src.tar \ $(RELEASE_DIR)/packages_src.tar \
$(RELEASE_DIR)/gnuboot_src.tar $(RELEASE_DIR)/gnuboot_src.tar
@ -80,6 +82,19 @@ $(RELEASE_DIR)/$(PACK_NAME)-deb-pack.deb: Makefile
`$(GUIX_PACK_COMMAND) --format="deb" $(GUIX_PACKAGE_NAMES)` \ `$(GUIX_PACK_COMMAND) --format="deb" $(GUIX_PACKAGE_NAMES)` \
$@ $@
$(RELEASE_DIR)/$(PACK_NAME)-docker-pack.tar.gz: Makefile
install -d $(RELEASE_DIR)
install \
`$(GUIX_PACK_COMMAND) --format="docker" $(GUIX_PACKAGE_NAMES)` \
$@
# For singularity
$(RELEASE_DIR)/$(PACK_NAME)-squashfs-pack.gz.squashfs: Makefile
install -d $(RELEASE_DIR)
install \
`$(GUIX_PACK_COMMAND) --format="squashfs" --entry-point=bin/bash bash $(GUIX_PACKAGE_NAMES)` \
$@
$(RELEASE_DIR)/$(PACK_NAME)-tarball-pack.tar.gz: Makefile $(RELEASE_DIR)/$(PACK_NAME)-tarball-pack.tar.gz: Makefile
install -d $(RELEASE_DIR) install -d $(RELEASE_DIR)
install \ install \