File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -112,12 +112,14 @@ FROM golang:1.19 as tilt-helper
112112# Support live reloading with Tilt
113113RUN wget --output-document /restart.sh --quiet https://raw.githubusercontent.com/windmilleng/rerun-process-wrapper/master/restart.sh && \
114114 wget --output-document /start.sh --quiet https://raw.githubusercontent.com/windmilleng/rerun-process-wrapper/master/start.sh && \
115- chmod +x /start.sh && chmod +x /restart.sh
115+ chmod +x /start.sh && chmod +x /restart.sh && \
116+ touch /process.txt && chmod 0777 /process.txt `# pre-create PID file to allow even non-root users to run the image`
116117"""
117118
118119tilt_dockerfile_header = """
119120FROM gcr.io/distroless/base:debug as tilt
120121WORKDIR /
122+ COPY --from=tilt-helper /process.txt .
121123COPY --from=tilt-helper /start.sh .
122124COPY --from=tilt-helper /restart.sh .
123125COPY manager .
You can’t perform that action at this time.
0 commit comments