mirror of
https://github.com/vmware-tanzu/velero.git
synced 2025-12-23 06:15:21 +00:00
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 <bmcerlean@vmware.com>
This commit is contained in:
3
Tiltfile
3
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 .
|
||||
|
||||
Reference in New Issue
Block a user