Go2Py_SIM/Makefile

29 lines
1.0 KiB
Makefile
Raw Normal View History

2024-02-12 09:43:59 +08:00
docker_dock:
2024-02-12 10:01:46 +08:00
@docker build --no-cache --tag go2py_dock_hw:latest -f Dockerfile.dock .
docker_robot:
@docker build --no-cache --tag go2py_robot_hw:latest -f Dockerfile.robot .
2024-02-04 09:05:52 +08:00
2024-04-24 03:08:12 +08:00
docker_nav:
2024-04-24 05:36:41 +08:00
# @docker build --no-cache --tag go2py_nav:latest -f Dockerfile.nav2 .
@docker build --tag go2py_nav:latest -f Dockerfile.nav2 .
2024-04-24 03:08:12 +08:00
2024-02-12 09:43:59 +08:00
docker_dock_install:
2024-02-12 10:01:46 +08:00
@cp deploy/scripts/go2py-dock-hw-nodes.service /etc/systemd/system/
@systemctl enable go2py-dock-hw-nodes.service
@systemctl start go2py-dock-hw-nodes.service
2024-02-04 09:05:52 +08:00
2024-02-12 09:43:59 +08:00
docker_dock_uninstall:
2024-02-12 10:01:46 +08:00
@systemctl disable go2py-dock-hw-nodes.service
@systemctl stop go2py-dock-hw-nodes.service
2024-02-12 10:12:34 +08:00
@rm /etc/systemd/system/go2py-dock-hw-nodes.service
docker_robot_install:
@cp deploy/scripts/go2py-robot-hw-nodes.service /etc/systemd/system/
@systemctl enable go2py-robot-hw-nodes.service
@systemctl start go2py-robot-hw-nodes.service
docker_robot_uninstall:
@systemctl disable go2py-robot-hw-nodes.service
@systemctl stop go2py-robot-hw-nodes.service
@rm /etc/systemd/system/go2py-robot-hw-nodes.service