File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,8 @@ RUN wget --output-document /restart.sh --quiet https://raw.githubusercontent.com
118118
119119tilt_dockerfile_header = """
120120FROM gcr.io/distroless/base:debug as tilt
121- WORKDIR /
121+ WORKDIR /tilt
122+ RUN ["/busybox/chmod", "0777", "."]
122123COPY --from=tilt-helper /process.txt .
123124COPY --from=tilt-helper /start.sh .
124125COPY --from=tilt-helper /restart.sh .
@@ -219,7 +220,7 @@ def capz():
219220 tilt_dockerfile_header ,
220221 ])
221222
222- entrypoint = ["sh" , "/start.sh" , "/manager" ]
223+ entrypoint = ["sh" , "/tilt/ start.sh" , "/tilt /manager" ]
223224 extra_args = settings .get ("extra_args" )
224225 if extra_args :
225226 entrypoint .extend (extra_args )
@@ -234,8 +235,8 @@ def capz():
234235 entrypoint = entrypoint ,
235236 only = "manager" ,
236237 live_update = [
237- sync (".tiltbuild/manager" , "/manager" ),
238- run ("sh /restart.sh" ),
238+ sync (".tiltbuild/manager" , "/tilt/ manager" ),
239+ run ("sh /tilt/ restart.sh" ),
239240 ],
240241 ignore = ["templates" ],
241242 )
You can’t perform that action at this time.
0 commit comments