File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ ADD . /go/src/github.com/DrmagicE/gmqtt
66WORKDIR /go/src/github.com/DrmagicE/gmqtt
77
88ENV GO111MODULE on
9- ENV GOPROXY https://goproxy.cn
9+ # ENV GOPROXY https://goproxy.cn
1010
1111EXPOSE 1883 8883 8082 8083 8084
1212
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ test-all: test test-bench test-cover
128128
129129# Build Golang application binary with settings to enable it to run in a Docker scratch container.
130130binary : generate-grpc
131- CGO_ENABLED=0 GOOS=linux go build -ldflags ' -s' -installsuffix cgo o $(BUILD_DIR ) /gmqttd ./cmd/gmqttd
131+ CGO_ENABLED=0 GOOS=linux go build -ldflags ' -s' -o $(BUILD_DIR ) /gmqttd ./cmd/gmqttd
132132
133133build-docker :
134- docker build -t gmqtt .
134+ docker build -t gmqtt/gmqttd .
You can’t perform that action at this time.
0 commit comments