Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
bad arch copy/paste
  • Loading branch information
aaronspruit authored Sep 27, 2024
1 parent a996a4c commit dcb933a
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 @@ -4,7 +4,7 @@ FROM scratch as nothing
FROM tensorchord/pgvecto-rs-binary:${PGVECTORS_TAG} as binary

Check warning on line 4 in Dockerfile

View workflow job for this annotation

GitHub Actions / build-and-push-docker-image

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

FROM docker.io/bitnami/postgresql-repmgr:${BITNAMI_TAG}
ADD "https://github.com/tensorchord/pgvecto.rs/releases/download/v0.2.1/vectors-pg16_0.2.1_arm64.deb" /tmp/vectors.deb
ADD "https://github.com/tensorchord/pgvecto.rs/releases/download/v0.2.1/vectors-pg16_0.2.1_amd64.deb" /tmp/vectors.deb
USER root
RUN apt-get install -y /tmp/vectors.deb && rm -f /tmp/vectors.deb && \
mv /usr/lib/postgresql/*/lib/vectors.so /opt/bitnami/postgresql/lib/ && \
Expand Down

0 comments on commit dcb933a

Please sign in to comment.