Move container tooling to toolbox subdir
This commit is contained in:
14
Makefile
14
Makefile
@@ -4,11 +4,14 @@ BASE_IMAGE_VERSION = $(shell cat /etc/os-release | grep VERSION_ID | cut -d = -f
|
|||||||
REPOSITORY = localhost/toolbox-dev-env
|
REPOSITORY = localhost/toolbox-dev-env
|
||||||
STARSHIP_COLOR = $(shell cat starship.$(HOSTNAME).color)
|
STARSHIP_COLOR = $(shell cat starship.$(HOSTNAME).color)
|
||||||
|
|
||||||
.PHONY: container
|
.PHONY: toolbox
|
||||||
container:
|
toolbox:
|
||||||
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)"
|
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
|
podman tag $(REPOSITORY):$(BUILD_COMMIT) $(REPOSITORY):latest
|
||||||
|
|
||||||
|
systemctl --user enable podman.socket --now
|
||||||
|
systemctl --user enable podman.service --now
|
||||||
|
|
||||||
.PHONY: container
|
.PHONY: container
|
||||||
scripts:
|
scripts:
|
||||||
mkdir --parents ~/.local/share/fonts/
|
mkdir --parents ~/.local/share/fonts/
|
||||||
@@ -43,7 +46,6 @@ vscodium:
|
|||||||
podman stop vscodium-setup-temp
|
podman stop vscodium-setup-temp
|
||||||
podman rm vscodium-setup-temp
|
podman rm vscodium-setup-temp
|
||||||
|
|
||||||
install: container scripts
|
.PHONY: install
|
||||||
systemctl --user enable podman.sock --now
|
install: toolbox scripts;
|
||||||
systemctl --user enable podman.service --now
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user