Skip to content

Commit

Permalink
Install CA certificates in Tilt Docker image (#3496)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
zubron authored Feb 24, 2021
1 parent 31246c5 commit f9fe40b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand Down

0 comments on commit f9fe40b

Please sign in to comment.