ms-runner/Makefile

15 lines
326 B
Makefile
Raw Normal View History

2024-06-20 16:41:25 +00:00
all:
2024-06-20 17:09:41 +00:00
make init
make mkrootfs
make compile
2024-06-20 17:06:53 +00:00
init:
go mod init runner
go get github.com/containerd/cgroups
2024-06-20 16:41:25 +00:00
git clone https://github.com/alpinelinux/alpine-make-rootfs
mv alpine-make-rootfs starter/alpine-make-rootfs
mkrootfs:
starter/create_rootfs.sh
compile:
go build -o ./run
gcc starter/starter.c -o starter/starter