view Makefile @ 0:d7dfe167f8ee default tip

socket
author matac <matac@cr.ie.u-ryukyu.ac.jp>
date Mon, 10 Oct 2022 12:28:01 +0900
parents
children
line wrap: on
line source

.PHONY: run
run:
	-@podman stop cbc-ip
	-@podman rm cbc-ip
	podman run --cap-add=all --name cbc-ip \
	   -v $(PWD):/cbc-ip \
	   -dit \
	   localhost/cbc-ip

.PHONY: exec
exec:
	podman exec -it cbc-ip bash

.PHONY: build
build:
	podman build --rm -t localhost/cbc-ip .

.PHONY: sync
sync:
	rsync -avP $(PWD)/src ie-user@10.0.4.74:~/cbc-ip