mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-10 07:05:28 +08:00
adding changes
This commit is contained in:
parent
9635590322
commit
6108936b0b
3 changed files with 2 additions and 10 deletions
|
@ -8,13 +8,13 @@ WORKDIR /app
|
||||||
|
|
||||||
ENV GO111MODULE=auto
|
ENV GO111MODULE=auto
|
||||||
|
|
||||||
RUN CGO_ENABLED=0 GOOS=linux go build -o app main.go
|
RUN GOARCH=amd64 CGO_ENABLED=0 GOOS=linux go build -ldflags="-w -s" -o app main.go
|
||||||
|
|
||||||
WORKDIR /app/netclient
|
WORKDIR /app/netclient
|
||||||
|
|
||||||
ENV GO111MODULE=auto
|
ENV GO111MODULE=auto
|
||||||
|
|
||||||
RUN CGO_ENABLED=0 GOOS=linux go build -o netclient main.go
|
RUN GOARCH=amd64 CGO_ENABLED=0 GOOS=linux go build -ldflags="-w -s" -o netclient main.go
|
||||||
|
|
||||||
#second stage
|
#second stage
|
||||||
|
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
example.com {
|
|
||||||
reload 15s
|
|
||||||
hosts /root/dnsconfig/netmaker.hosts {
|
|
||||||
fallthrough
|
|
||||||
}
|
|
||||||
forward . 8.8.8.8 8.8.4.4
|
|
||||||
log
|
|
||||||
}
|
|
Loading…
Add table
Reference in a new issue