Move container tooling to toolbox subdir

This commit is contained in:
2025-11-13 13:49:48 -05:00
parent f6e49f3610
commit 60d5d88e96
9 changed files with 8 additions and 6 deletions

View File

@@ -4,11 +4,14 @@ BASE_IMAGE_VERSION = $(shell cat /etc/os-release | grep VERSION_ID | cut -d = -f
REPOSITORY = localhost/toolbox-dev-env
STARSHIP_COLOR = $(shell cat starship.$(HOSTNAME).color)
.PHONY: container
container:
podman build ./container/ --tag $(REPOSITORY):$(BUILD_COMMIT) --build-arg BASE_IMAGE="$(BASE_IMAGE)" --build-arg BASE_IMAGE_VERSION="$(BASE_IMAGE_VERSION)" --build-arg BUILD_COMMIT="$(BUILD_COMMIT)"
.PHONY: toolbox
toolbox:
podman build ./toolbox/ --tag $(REPOSITORY):$(BUILD_COMMIT) --build-arg BASE_IMAGE="$(BASE_IMAGE)" --build-arg BASE_IMAGE_VERSION="$(BASE_IMAGE_VERSION)" --build-arg BUILD_COMMIT="$(BUILD_COMMIT)"
podman tag $(REPOSITORY):$(BUILD_COMMIT) $(REPOSITORY):latest
systemctl --user enable podman.socket --now
systemctl --user enable podman.service --now
.PHONY: container
scripts:
mkdir --parents ~/.local/share/fonts/
@@ -43,7 +46,6 @@ vscodium:
podman stop vscodium-setup-temp
podman rm vscodium-setup-temp
install: container scripts
systemctl --user enable podman.sock --now
systemctl --user enable podman.service --now
.PHONY: install
install: toolbox scripts;