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
|
||||
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user