From 8050bac5079d448208d7f4b58a28096791929d7d Mon Sep 17 00:00:00 2001 From: meeb Date: Sat, 19 Jun 2021 15:36:39 +1000 Subject: [PATCH] add libpq-dev to container build --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 04de579..de71576 100644 --- a/Dockerfile +++ b/Dockerfile @@ -60,7 +60,7 @@ RUN set -x && \ apt-get update && \ # Install required distro packages apt-get -y install nginx-light && \ - apt-get -y --no-install-recommends install python3 python3-setuptools python3-pip python3-dev gcc make default-libmysqlclient-dev libmariadb3 postgresql-common && \ + apt-get -y --no-install-recommends install python3 python3-setuptools python3-pip python3-dev gcc make default-libmysqlclient-dev libmariadb3 postgresql-common libpq-dev && \ # Install pipenv pip3 --disable-pip-version-check install pipenv && \ # Create a 'app' user which the application will run as @@ -83,7 +83,7 @@ RUN set -x && \ rm /app/Pipfile.lock && \ pipenv --clear && \ pip3 --disable-pip-version-check uninstall -y pipenv wheel virtualenv && \ - apt-get -y autoremove --purge python3-pip python3-dev gcc make default-libmysqlclient-dev && \ + apt-get -y autoremove --purge python3-pip python3-dev gcc make default-libmysqlclient-dev postgresql-common libpq-dev && \ apt-get -y autoremove && \ apt-get -y autoclean && \ rm -rf /var/lib/apt/lists/* && \