diff --git a/Makefile b/Makefile index 33bce43..3c3b824 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,12 @@ build: go mod vendor; \ CGO_ENABLED=0 go build -a -ldflags '-s' -installsuffix cgo -o motd cmd/motdGO/main.go +build-linux: + export GO11MODULE="auto" \ + go mod download; \ + go mod vendor; \ + GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -a -ldflags '-s' -installsuffix cgo -o motd-linux cmd/motdGO/main.go + install: export GO11MODULE="on"; \ go mod tidy; \ diff --git a/motd b/motd index e1e1126..bf26c35 100755 Binary files a/motd and b/motd differ diff --git a/motd-linux b/motd-linux new file mode 100755 index 0000000..60e0080 Binary files /dev/null and b/motd-linux differ