fix(deploy): add CA's in to cloud image (#11892)

I forgot to include this in the image such that dev can verify
ClickHouse.
This commit is contained in:
Harry Waye
2022-09-20 13:56:46 +01:00
committed by GitHub
parent e5d52e0d20
commit 96dc1e2357

View File

@@ -8,6 +8,13 @@ WORKDIR /code/
USER root
# TLS: add in our own root CAs for the deployment environment, such that we can
# validate certs. See
# https://github.com/PostHog/posthog-cloud-infra/tree/main/pki for details of
# the setup.
COPY ./certs/* /usr/local/share/ca-certificates/
RUN chmod 644 /usr/local/share/ca-certificates/posthog-*.crt && update-ca-certificates
# Add in requirements we don't have in the base image
COPY requirements.txt /code/cloud_requirements.txt
RUN pip install -r cloud_requirements.txt --no-cache-dir