Skip to content
This repository has been archived by the owner on Jan 17, 2024. It is now read-only.

Commit

Permalink
chore: Use buildx TARGETARCH variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bo0tzz committed Dec 16, 2023
1 parent f6090fb commit a97397f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG PGVECTORS_TAG

WORKDIR /download
RUN pg_major=$(echo $CNPG_TAG | cut -d'.' -f1) \
&& curl --fail -o pgvectors.deb -sSL https://github.com/tensorchord/pgvecto.rs/releases/download/$PGVECTORS_TAG/vectors-pg${pg_major}_${PGVECTORS_TAG#"v"}_$(uname -m).deb
&& curl --fail -o pgvectors.deb -sSL https://github.com/tensorchord/pgvecto.rs/releases/download/$PGVECTORS_TAG/vectors-pg${pg_major}_${PGVECTORS_TAG#"v"}_$TARGETARCH.deb

FROM ghcr.io/cloudnative-pg/postgresql:$CNPG_TAG

Expand Down

0 comments on commit a97397f

Please sign in to comment.