File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ BINARY ?= containerd-driver
2+ ifndef $(GOLANG)
3+ GOLANG=$(shell which go)
4+ export GOLANG
5+ endif
6+
7+ export GOARCH=arm64
8+ export GO111MODULE=on
9+ export GOOS=linux
10+
11+ default: build
12+
13+ .PHONY: clean
14+ clean:
15+ rm -f $(BINARY)
16+
17+ .PHONY: build
18+ build:
19+ $(GOLANG) build -o $(BINARY) .
20+
21+ .PHONY: test
22+ test:
23+ ./tests/run_tests.sh
Original file line number Diff line number Diff line change @@ -41,6 +41,12 @@ $ cd nomad-driver-containerd
4141$ make build (This will build your containerd-driver binary)
4242```
4343
44+ If you want to compile for ` arm64 ` , you can run:
45+
46+ ```
47+ make -f Makefile.arm64
48+ ```
49+
4450## Screencast
4551[ ![ asciicast] ( https://asciinema.org/a/348173.svg )] ( https://asciinema.org/a/348173 )
4652
You can’t perform that action at this time.
0 commit comments