added dockerfile to use for pg_upgrade
All checks were successful
CI / Build wildfly docker images (push) Successful in 18s

This commit is contained in:
2025-04-18 15:45:27 +08:00
parent a2511b32e8
commit ca5eaa07f6

View File

@@ -0,0 +1,9 @@
FROM gitea.woggioni.net/woggioni/pgvector:0.8.0-pg16 AS release-16
RUN --mount=type=cache,target=/var/cache/apk apk update
RUN --mount=type=cache,target=/var/cache/apk apk add patchelf
RUN find /usr/local/bin -type f ! -name "*.sh" -exec patchelf --set-rpath /usr/local-16/lib {} \;
FROM gitea.woggioni.net/woggioni/pgvector:0.8.0-pg17 AS release-17
COPY --from=release-16 /usr/local/ /usr/local-16/