Skip to content

Commit be1850e

Browse files
authored
Revert to Delve 1.3.1 (#36)
1 parent 782a639 commit be1850e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

go/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM golang:1.14.1 as delve
2-
RUN curl --location --output delve-1.4.0.tar.gz https://github.com/go-delve/delve/archive/v1.4.0.tar.gz \
3-
&& tar xzf delve-1.4.0.tar.gz
2+
RUN curl --location --output delve-1.3.1.tar.gz https://github.com/go-delve/delve/archive/v1.3.1.tar.gz \
3+
&& tar xzf delve-1.3.1.tar.gz
44
# Produce an as-static-as-possible dlv binary to work on musl and glibc
5-
RUN cd delve-1.4.0 && CGO_ENABLED=0 go build -o /go/dlv -ldflags '-extldflags "-static"' ./cmd/dlv/
5+
RUN cd delve-1.3.1 && CGO_ENABLED=0 go build -o /go/dlv -ldflags '-extldflags "-static"' ./cmd/dlv/
66

77
# Now populate the duct-tape image with the language runtime debugging support files
88
# The debian image is about 95MB bigger

0 commit comments

Comments
 (0)