prepare boot v2
This commit is contained in:
15
modd.conf
15
modd.conf
@ -1,6 +1,13 @@
|
||||
go.??? *.go {
|
||||
modd.conf {}
|
||||
|
||||
go.??? **/*.go {
|
||||
prep: go test ./...
|
||||
prep: dockb -t dkl-initrd .
|
||||
prep: docker run dkl-initrd | docker exec -i dls sh -c "base64 -d >/var/lib/direktil/dist/initrd/1.0.7 && rm -rfv /var/lib/direktil/cache/*"
|
||||
prep: curl -H'Autorization: Bearer adm1n' localhost:7606/hosts/m1/boot.iso >/tmp/m1-boot.iso
|
||||
prep: mkdir -p dist
|
||||
prep: go build -o dist/init -trimpath -ldflags "-extldflags '-static -pthread'" .
|
||||
prep: go build -o dist/ ./tools/...
|
||||
}
|
||||
|
||||
dist/init Dockerfile {
|
||||
prep: docker build -t dkl-initrd .
|
||||
prep: docker run dkl-initrd | base64 -d >dist/initrd
|
||||
}
|
||||
|
Reference in New Issue
Block a user