mirror of
https://github.com/BillyOutlast/posthog.git
synced 2026-02-04 03:01:23 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user