Files
homelab/infrastructure/graduated/fedora/arch-build.sh
ducoterra 880a82f7d8
All checks were successful
Reese's Arch Toolbox / build-and-push-arch-toolbox (push) Successful in 16m29s
comments for arch containerfile, also add uv and ruff
2024-12-23 22:39:17 -06:00

16 lines
523 B
Bash
Executable File

#!/bin/bash
# Build latest image
podman pull quay.io/toolbx/arch-toolbox:latest
podman build \
-t gitea.reeseapps.com/services/arch-toolbox:debug \
-f ./infrastructure/graduated/fedora/arch.containerfile
# Stop the current arch toolbox
podman container stop arch-toolbox-latest
podman container stop arch-toolbox-debug
# Remove the old container
podman container rm arch-toolbox-latest
podman container rm arch-toolbox-debug
# Start with the new image
toolbox create -i gitea.reeseapps.com/services/arch-toolbox:debug