We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e21fcfe commit 95614e5Copy full SHA for 95614e5
Dockerfile
@@ -17,10 +17,12 @@ ENV CERTS="{}" \
17
WAN_TLS=1 \
18
WAN_USERS='["all"]' \
19
HBA_EXTRA_RULES=""
20
-RUN apk add --no-cache python3 \
21
- && mkdir -p /etc/postgres \
22
- && chmod a=rwx /etc/postgres
23
-RUN apk add --no-cache py3-netifaces
+RUN apk add --no-cache python3 py3-netifaces \
+ && if [ "${PG_MAJOR:-0}" -ge 12 ]; then \
+ apk add --no-cache postgresql-pgvector; \
+ fi \
24
+ && mkdir -p /etc/postgres \
25
+ && chmod a=rwx /etc/postgres
26
COPY autoconf-entrypoint /
27
28
# Metadata
0 commit comments