docker: Build the docker image with psql support

Changelog-Fixed: docker: The docker image is now built with postgresql support
This commit is contained in:
Christian Decker 2022-02-28 18:53:13 +01:00 committed by Rusty Russell
parent 508b8cb54a
commit 704162f24a

View File

@ -59,6 +59,7 @@ RUN apt-get update -qq && \
gettext \
git \
gnupg \
libpq-dev \
libtool \
libffi-dev \
python3 \
@ -108,7 +109,7 @@ RUN ./configure --prefix=/tmp/lightning_install --enable-static && make -j3 DEVE
FROM debian:buster-slim as final
COPY --from=downloader /opt/tini /usr/bin/tini
RUN apt-get update && apt-get install -y --no-install-recommends socat inotify-tools python3 python3-pip \
RUN apt-get update && apt-get install -y --no-install-recommends socat inotify-tools python3 python3-pip libpq5\
&& rm -rf /var/lib/apt/lists/*
ENV LIGHTNINGD_DATA=/root/.lightning