Update Makefile deps
This commit is contained in:
parent
368782591f
commit
03e77c09e0
10
Makefile
10
Makefile
@ -1,9 +1,9 @@
|
||||
LINUXKIT ?= $(GOPATH)/bin/linuxkit
|
||||
|
||||
tuto1: token-validator/token-validator server.iso
|
||||
tuto1: login-initrd.img challenge token-validator/token-validator server.iso
|
||||
|
||||
pkg/login-app: pkg/login-app/cmd/login.go pkg/login-app/cmd/dialog-checklogin.go pkg/login-app/cmd/cmd pkg/login-app/cmd/dialog-login.go pkg/login-app/cmd/login-app pkg/login-app/cmd/dialog-errmsg.go pkg/login-app/cmd/main.go pkg/login-app/cmd/stream.go pkg/login-app/cmd/cinematic.go pkg/login-app/build.yml pkg/login-app/Dockerfile
|
||||
$(LINUXKIT) pkg build --platforms linux/amd64 -org nemunaire pkg/login-app/
|
||||
pkg/login-app: pkg/login-app/cmd/login.go pkg/login-app/cmd/dialog-checklogin.go pkg/login-app/cmd/dialog-login.go pkg/login-app/cmd/login-app pkg/login-app/cmd/dialog-errmsg.go pkg/login-app/cmd/main.go pkg/login-app/cmd/stream.go pkg/login-app/cmd/cinematic.go pkg/login-app/build.yml pkg/login-app/Dockerfile
|
||||
$(LINUXKIT) pkg build -platforms linux/amd64 -org nemunaire pkg/login-app/
|
||||
#$(LINUXKIT) pkg push -org nemunaire --sign=false pkg/login-app/
|
||||
touch pkg/login-app
|
||||
|
||||
@ -14,10 +14,10 @@ token-validator/token-validator: token-validator/*.go
|
||||
go generate ./token-validator
|
||||
GOOS=linux GOARM=5 GOARCH=arm go build -tags netgo -ldflags '-w -extldflags "-static"' -o $@ ./token-validator
|
||||
|
||||
challenge: pkg/challenge/adlin pkg/challenge/issue pkg/challenge/init
|
||||
pkg/challenge: pkg/challenge/adlin pkg/challenge/issue pkg/challenge/init
|
||||
$(LINUXKIT) pkg build --platforms linux/amd64 -org nemunaire pkg/challenge/
|
||||
|
||||
challenge-initrd.img: challenge.yml subject/adlin.6.gz subject/adlin-TP1-topologie.png
|
||||
challenge-initrd.img: challenge.yml subject/adlin.6.gz subject/adlin-TP1-topologie.png pkg/challenge
|
||||
$(LINUXKIT) build -docker $<
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user