From ff01c05289f6b25776e9e62460ccbddbaff789f9 Mon Sep 17 00:00:00 2001 From: killianmuldoon Date: Tue, 23 May 2023 13:33:53 +0100 Subject: [PATCH] Pin delve to match go minor version Signed-off-by: killianmuldoon --- Tiltfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tiltfile b/Tiltfile index e2dd41ce32fc..8ba12577028e 100644 --- a/Tiltfile +++ b/Tiltfile @@ -166,8 +166,9 @@ def load_provider_tiltfiles(): tilt_helper_dockerfile_header = """ # Tilt image FROM golang:1.20.3 as tilt-helper +# Install delve. Note this should be kept in step with the Go release minor version. +RUN go install github.com/go-delve/delve/cmd/dlv@v1.20 # Support live reloading with Tilt -RUN go install github.com/go-delve/delve/cmd/dlv@latest RUN wget --output-document /restart.sh --quiet https://raw.githubusercontent.com/tilt-dev/rerun-process-wrapper/master/restart.sh && \ wget --output-document /start.sh --quiet https://raw.githubusercontent.com/tilt-dev/rerun-process-wrapper/master/start.sh && \ chmod +x /start.sh && chmod +x /restart.sh && chmod +x /go/bin/dlv && \