From f9fe40befc7002514b1a3631f6b4cf8241d1f4cf Mon Sep 17 00:00:00 2001 From: Bridget McErlean Date: Wed, 24 Feb 2021 00:50:30 -0500 Subject: [PATCH] Install CA certificates in Tilt Docker image (#3496) HTTPS requests were failing due to the ca-certificates package not being installed in the Tilt image. This change takes the command to install this package from our main Dockerfile (which also includes installing tzdata). Signed-off-by: Bridget McErlean --- Tiltfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tiltfile b/Tiltfile index a47ab95516..46a5cadb25 100644 --- a/Tiltfile +++ b/Tiltfile @@ -109,6 +109,9 @@ local_resource( # Note: we need a distro with a bash shell to exec into the Velero container tilt_dockerfile_header = """ FROM ubuntu:focal as tilt + +RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -qq -y ca-certificates tzdata && rm -rf /var/lib/apt/lists/* + WORKDIR / COPY --from=tilt-helper /start.sh . COPY --from=tilt-helper /restart.sh .