don't even know, I will organize later
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user