Files
gothermal/Makefile
T

28 lines
473 B
Makefile

include vars.mk
image = $(registry)/$(repo)/$(name):$(tag)
build_image:
make -B -C src build
podman buildx build -t $(image) .
push_image:
podman push $(image)
clean:
podman container rm thprinter-container-test --force
attach:
podman exec -u root -it thprinter-container zsh
attach-test:
podman exec -u root -it thprinter-container-test zsh
test: clean
podman run \
--name thprinter-container-test \
-p 9099:9099 \
-it thprinter zsh
debug: clean test