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/