We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29aa3b6 commit aaabe75Copy full SHA for aaabe75
.docker/Dockerfile-debug
@@ -2,7 +2,7 @@ FROM golang:1.18-buster
2
ENV CGO_ENABLED 1
3
4
RUN apt-get update && apt-get install -y --no-install-recommends inotify-tools psmisc
5
-RUN go get github.com/go-delve/delve/cmd/dlv
+RUN go install github.com/go-delve/delve/cmd/dlv@latest
6
7
COPY script/debug-entrypoint.sh /entrypoint.sh
8
script/debug-entrypoint.sh
@@ -17,7 +17,7 @@ build() {
17
log "Building ${SERVICE_NAME} binary"
18
go env -w GOPROXY="proxy.golang.org,direct"
19
go mod download
20
- go build -gcflags "all=-N -l" -o /${SERVICE_NAME}
+ go build -buildvcs=false -gcflags "all=-N -l" -o /${SERVICE_NAME}
21
}
22
23
start() {
0 commit comments