now it compiles :3
This commit is contained in:
parent
24ff954904
commit
0cae2e1560
2 changed files with 4 additions and 6 deletions
8
Makefile
8
Makefile
|
@ -1,12 +1,10 @@
|
|||
all:
|
||||
rm -rf starter/alpine-make-rootfs
|
||||
git clone https://github.com/alpinelinux/alpine-make-rootfs
|
||||
mv alpine-make-rootfs starter/alpine-make-rootfs
|
||||
go build -o ./run
|
||||
gcc starter/starter.c -o starter/starter
|
||||
starter/create_rootfs.sh
|
||||
install_minrootfs:
|
||||
rm -rf starter/alpine-make-rootfs
|
||||
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:
|
||||
|
|
|
@ -19,7 +19,7 @@ const runner_username string = "gaterunner"
|
|||
const runIdLength = 20
|
||||
var coresIsolated []int
|
||||
|
||||
type Limits {
|
||||
type Limits struct {
|
||||
core int
|
||||
memory int
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue