From 97196aa514e7d14da2c39403075783be1833fe0b Mon Sep 17 00:00:00 2001 From: vrenaville Date: Wed, 3 Jul 2024 09:44:19 +0200 Subject: [PATCH] feat: fix postgresl root certificate --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 6ed78b2..7b48e47 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,7 @@ RUN set -ex \ libssl-dev \ && curl -L https://github.com/digitalocean/prometheus-client-c/releases/download/v0.1.3/libprom-dev-0.1.3-Linux.deb -o /tmp/libprom-dev-0.1.3-Linux.deb \ && curl -L https://github.com/digitalocean/prometheus-client-c/releases/download/v0.1.3/libpromhttp-dev-0.1.3-Linux.deb -o /tmp/libpromhttp-dev-0.1.3-Linux.dev \ + && cat /etc/ssl/certs/DigiCert_Global_Root_CA.pem /etc/ssl/certs/DigiCert_Global_Root_G2.pem /etc/ssl/certs/Microsoft_RSA_Root_Certificate_Authority_2017.pem > /postgresql_root.crt \ && dpkg --install /tmp/libprom-dev-0.1.3-Linux.deb \ && dpkg --install /tmp/libpromhttp-dev-0.1.3-Linux.dev \ && git clone --depth 1 --branch 1.3 http://github.com/yandex/odyssey.git \ @@ -52,6 +53,7 @@ RUN set -ex \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* COPY --from=builder /tmp/odyssey/build/sources/odyssey /usr/local/bin/ +COPY --from=builder /postgresql_root.crt /postgresql_root.crt COPY ./entrypoint.sh . RUN adduser --disabled-password --gecos '' odyssey USER odyssey