ms-runner/Makefile
2024-06-20 22:09:41 +05:00

15 lines
326 B
Makefile

all:
make init
make mkrootfs
make compile
init:
go mod init runner
go get github.com/containerd/cgroups
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