15 lines
373 B
Makefile
15 lines
373 B
Makefile
all:
|
|
go build -o ./run
|
|
gcc starter/starter.c -o starter/starter
|
|
starter/create_rootfs.sh
|
|
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
|