We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 125bee1 commit d53113fCopy full SHA for d53113f
1 file changed
Containerfile
@@ -69,6 +69,10 @@ COPY --from=builder /usr/local/share/postgresql/extension/vchord* /usr/local/sha
69
RUN chmod 644 /usr/local/share/postgresql/extension/vchord* && \
70
chmod 755 /usr/local/lib/postgresql/vchord.so
71
72
+# Extract version
73
+RUN mkdir -p /app && \
74
+ pkg query '%v' postgresql${PG_VERSION}-server | sed 's/_.*$//' > /app/version
75
+
76
# Copy init scripts for extensions
77
COPY docker-entrypoint-initdb.d/ /docker-entrypoint-initdb.d/
78
RUN chmod 644 /docker-entrypoint-initdb.d/*
0 commit comments