File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -98,18 +98,23 @@ def validate_auth():
9898
9999tilt_helper_dockerfile_header = """
100100# Tilt image
101- FROM golang:1.18 as tilt-helper
101+ FROM golang:1.23.6 as tilt-helper
102+ # Install delve. Note this should be kept in step with the Go release minor version.
103+ RUN go install github.com/go-delve/delve/cmd/[email protected] 102104# Support live reloading with Tilt
103- RUN wget --output-document /restart.sh --quiet https://raw.githubusercontent.com/windmilleng/rerun-process-wrapper/master/restart.sh && \
104- wget --output-document /start.sh --quiet https://raw.githubusercontent.com/windmilleng/rerun-process-wrapper/master/start.sh && \
105- chmod +x /start.sh && chmod +x /restart.sh
105+ RUN wget --output-document /restart.sh --quiet https://raw.githubusercontent.com/tilt-dev/rerun-process-wrapper/master/restart.sh && \
106+ wget --output-document /start.sh --quiet https://raw.githubusercontent.com/tilt-dev/rerun-process-wrapper/master/start.sh && \
107+ chmod +x /start.sh && chmod +x /restart.sh && chmod +x /go/bin/dlv && \
108+ touch /process.txt && chmod 0777 /process.txt `# pre-create PID file to allow even non-root users to run the image`
106109"""
107110
108111tilt_dockerfile_header = """
109- FROM gcr.io/distroless/base:debug as tilt
112+ FROM golang:1.23.6 as tilt
110113WORKDIR /
114+ COPY --from=tilt-helper /process.txt .
111115COPY --from=tilt-helper /start.sh .
112116COPY --from=tilt-helper /restart.sh .
117+ COPY --from=tilt-helper /go/bin/dlv .
113118COPY manager .
114119"""
115120
You can’t perform that action at this time.
0 commit comments