Change distro (#3166)

Signed-off-by: Carlisia <carlisia@vmware.com>
pull/3172/head
Carlisia Thompson 2020-12-08 15:13:51 -08:00 committed by GitHub
parent b6eae33503
commit db824670b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -81,8 +81,9 @@ local_resource(
deps = ["internal", "pkg/cmd"], deps = ["internal", "pkg/cmd"],
) )
# Note: we need a distro with a bash shell to exec into the Velero container
tilt_dockerfile_header = """ tilt_dockerfile_header = """
FROM gcr.io/distroless/base:debug as tilt FROM ubuntu:focal as tilt
WORKDIR / WORKDIR /
COPY --from=tilt-helper /start.sh . COPY --from=tilt-helper /start.sh .
COPY --from=tilt-helper /restart.sh . COPY --from=tilt-helper /restart.sh .
@ -157,7 +158,7 @@ def enable_provider(provider):
name = provider.get("name") name = provider.get("name")
plugin_name = provider.get("plugin_name") plugin_name = provider.get("plugin_name")
# Note: we need a distro other than base:debug to get a shell to do a copy of the plugin binary # Note: we need a distro with a shell to do a copy of the plugin binary
tilt_dockerfile_header = """ tilt_dockerfile_header = """
FROM ubuntu:focal as tilt FROM ubuntu:focal as tilt
WORKDIR / WORKDIR /