更新版本到2.0
This commit is contained in:
11
build.sh
11
build.sh
@@ -1,5 +1,6 @@
|
||||
CGO_ENABLED=1 \
|
||||
GOOS=linux \
|
||||
GOARCH=amd64 \
|
||||
CC=gcc \
|
||||
go build -ldflags "-linkmode external -extldflags '-static -pthread'" -o dns-server main.go
|
||||
CGO_ENABLED=1
|
||||
GOOS=linux
|
||||
GOARCH=amd64
|
||||
CC=gcc
|
||||
service dns-server stop && go build -o dns-server main.go && service dns-server start
|
||||
|
||||
|
||||
Reference in New Issue
Block a user