particle-os/01-debian-atomic/justfile
2025-08-05 04:14:29 +00:00

44 lines
No EOL
1,006 B
Makefile

# Justfile for Debian Atomic Desktop - Phase 1
# Build and manage the minimal bootable Debian image
# Default recipe
default:
@just --list
# Build the container image
build-image:
podman build -t debian-atomic:latest .
# Build with a specific tag
build-image-tag tag:
podman build -t debian-atomic:{{tag}} .
# Clean up container images
clean:
podman rmi debian-atomic:latest || true
# Clean all debian-atomic images
clean-all:
podman rmi debian-atomic:latest || true
podman rmi debian-atomic:dev || true
# Test the image by running it interactively
test-image:
podman run -it --rm debian-atomic:latest
# Test the image with systemd (requires privileged mode)
test-image-systemd:
podman run -it --rm --privileged --systemd=always debian-atomic:latest
# List all debian-atomic images
list-images:
podman images debian-atomic
# Show image details
inspect-image:
podman inspect debian-atomic:latest
# Help
help:
@echo "Available recipes:"
@just --list