don't even know, I will organize later

This commit is contained in:
2026-11-02 23:34:16 +00:00
parent f7e2746c24
commit 4e654abed6
6 changed files with 33 additions and 26 deletions
+14 -6
View File
@@ -1,17 +1,25 @@
build:
docker buildx build -t thprinter .
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:
docker container rm thprinter-container-test --force
podman container rm thprinter-container-test --force
attach:
docker exec -u root -it thprinter-container zsh
podman exec -u root -it thprinter-container zsh
attach-test:
docker exec -u root -it thprinter-container-test zsh
podman exec -u root -it thprinter-container-test zsh
test: clean
docker run \
podman run \
--name thprinter-container-test \
-p 9099:9099 \
-it thprinter zsh