From 412d86c8f324421b1b134bf4daa57db0f9f490c8 Mon Sep 17 00:00:00 2001 From: gchust Date: Mon, 30 Sep 2024 21:14:33 +0800 Subject: [PATCH] fix: pg client not installed correctly in pro image --- Dockerfile.pro | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile.pro b/Dockerfile.pro index 4a01713c2f..10c571c0ad 100644 --- a/Dockerfile.pro +++ b/Dockerfile.pro @@ -4,7 +4,6 @@ ARG COMMIT_HASH ARG APPEND_PRESET_LOCAL_PLUGINS ARG BEFORE_PACK_NOCOBASE="ls -l" ARG PLUGINS_DIRS -ARG PG_CLIENT_VERSION=16 ENV PLUGINS_DIRS=${PLUGINS_DIRS} @@ -48,7 +47,7 @@ RUN rm -rf /etc/nginx/sites-enabled/default # install postgresql-client and mysql-client RUN apt update && apt install -y wget postgresql-common gnupg \ && /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y \ - && apt install -y postgresql-client-${PG_CLIENT_VERSION} \ + && apt install -y postgresql-client-16 \ && wget https://downloads.mysql.com/archives/get/p/23/file/mysql-community-client-core_8.1.0-1debian11_amd64.deb \ && dpkg -x mysql-community-client-core_8.1.0-1debian11_amd64.deb /tmp/mysql-client \ && cp /tmp/mysql-client/usr/bin/mysqldump /usr/bin/ \