Skip to content

Commit

Permalink
Pin delve to match go minor version
Browse files Browse the repository at this point in the history
Signed-off-by: killianmuldoon <[email protected]>
  • Loading branch information
killianmuldoon committed May 23, 2023
1 parent 79c9f57 commit ff01c05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
# 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 && \
Expand Down

0 comments on commit ff01c05

Please sign in to comment.