Skip to content

Commit

Permalink
Merge pull request #12 from vrenaville/fix_root_crt
Browse files Browse the repository at this point in the history
feat: fix postgresl root certificate
  • Loading branch information
vrenaville authored Jul 3, 2024
2 parents 24dc919 + 97196aa commit 1f32d7d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1f32d7d

Please sign in to comment.