feat: support postgresql 16 (close #137)

This commit is contained in:
ttionya
2023-12-14 21:34:37 +08:00
parent 6de6091493
commit 33ceb6f309
2 changed files with 4 additions and 2 deletions

View File

@@ -13,7 +13,7 @@ COPY scripts/*.sh /app/
RUN chmod +x /app/*.sh \
&& mkdir -m 777 /bitwarden \
&& apk add --no-cache 7zip bash mariadb-client postgresql15-client sqlite supercronic s-nail tzdata \
&& apk add --no-cache 7zip bash mariadb-client postgresql16-client sqlite supercronic s-nail tzdata \
&& apk info --no-cache -Lq mariadb-client | grep -vE '/bin/mariadb$' | grep -vE '/bin/mariadb-dump$' | xargs -I {} rm -f "/{}" \
&& ln -sf "${LOCALTIME_FILE}" /etc/localtime \
&& addgroup -g "${USER_ID}" "${USER_NAME}" \

View File

@@ -4,7 +4,9 @@ Now supports PostgreSQL backend.
~~Because upstream Rclone image is based on `alpine 3.16`(and `linux/arm/v6` platform is based on `alpine 3.15`), it **only supports PostgreSQL 14 and previous versions**, see [Alpine 3.16 Packages](https://pkgs.alpinelinux.org/packages?name=postgresql*-client&branch=v3.16) and [Alpine 3.15 Packages](https://pkgs.alpinelinux.org/packages?name=postgresql*-client&branch=v3.15).~~
We support PostgreSQL 15 and previous versions.
We support PostgreSQL 16 and previous versions.
If the `postgresql*-client` is not updated promptly, please create an issue to inform us.
<br>