mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 03:36:05 +00:00
fix: pg client not installed correctly in pro image
This commit is contained in:
parent
c2bc4a0e80
commit
412d86c8f3
@ -4,7 +4,6 @@ ARG COMMIT_HASH
|
|||||||
ARG APPEND_PRESET_LOCAL_PLUGINS
|
ARG APPEND_PRESET_LOCAL_PLUGINS
|
||||||
ARG BEFORE_PACK_NOCOBASE="ls -l"
|
ARG BEFORE_PACK_NOCOBASE="ls -l"
|
||||||
ARG PLUGINS_DIRS
|
ARG PLUGINS_DIRS
|
||||||
ARG PG_CLIENT_VERSION=16
|
|
||||||
|
|
||||||
ENV PLUGINS_DIRS=${PLUGINS_DIRS}
|
ENV PLUGINS_DIRS=${PLUGINS_DIRS}
|
||||||
|
|
||||||
@ -48,7 +47,7 @@ RUN rm -rf /etc/nginx/sites-enabled/default
|
|||||||
# install postgresql-client and mysql-client
|
# install postgresql-client and mysql-client
|
||||||
RUN apt update && apt install -y wget postgresql-common gnupg \
|
RUN apt update && apt install -y wget postgresql-common gnupg \
|
||||||
&& /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y \
|
&& /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 \
|
&& 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 \
|
&& dpkg -x mysql-community-client-core_8.1.0-1debian11_amd64.deb /tmp/mysql-client \
|
||||||
&& cp /tmp/mysql-client/usr/bin/mysqldump /usr/bin/ \
|
&& cp /tmp/mysql-client/usr/bin/mysqldump /usr/bin/ \
|
||||||
|
Loading…
Reference in New Issue
Block a user