Skip to content

Commit b7e92f8

Browse files
authored
Merge pull request #8725 from killianmuldoon/pr-pin-delve
🌱 Pin delve to match go minor version
2 parents 79c9f57 + ff01c05 commit b7e92f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Tiltfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,9 @@ def load_provider_tiltfiles():
166166
tilt_helper_dockerfile_header = """
167167
# Tilt image
168168
FROM golang:1.20.3 as tilt-helper
169+
# Install delve. Note this should be kept in step with the Go release minor version.
170+
RUN go install github.com/go-delve/delve/cmd/[email protected]
169171
# Support live reloading with Tilt
170-
RUN go install github.com/go-delve/delve/cmd/dlv@latest
171172
RUN wget --output-document /restart.sh --quiet https://raw.githubusercontent.com/tilt-dev/rerun-process-wrapper/master/restart.sh && \
172173
wget --output-document /start.sh --quiet https://raw.githubusercontent.com/tilt-dev/rerun-process-wrapper/master/start.sh && \
173174
chmod +x /start.sh && chmod +x /restart.sh && chmod +x /go/bin/dlv && \

0 commit comments

Comments
 (0)