Skip to content

Commit

Permalink
Merge pull request #2 from tensorchord/fix
Browse files Browse the repository at this point in the history
fix glibc error
  • Loading branch information
xieydd authored Nov 22, 2024
2 parents 1a0e248 + c483ecb commit 36a29a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
ARG CNPG_TAG

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

Check warning on line 3 in Dockerfile

View workflow job for this annotation

GitHub Actions / build_and_push (14.14, 0.1.0)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ghcr.io/cloudnative-pg/postgresql:$CNPG_TAG-bookworm results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 3 in Dockerfile

View workflow job for this annotation

GitHub Actions / build_and_push (15.9, 0.1.0)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ghcr.io/cloudnative-pg/postgresql:$CNPG_TAG-bookworm results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 3 in Dockerfile

View workflow job for this annotation

GitHub Actions / build_and_push (16.5, 0.1.0)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ghcr.io/cloudnative-pg/postgresql:$CNPG_TAG-bookworm results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 3 in Dockerfile

View workflow job for this annotation

GitHub Actions / build_and_push (17.1, 0.1.0)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ghcr.io/cloudnative-pg/postgresql:$CNPG_TAG-bookworm results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 3 in Dockerfile

View workflow job for this annotation

GitHub Actions / build_and_push (14.14, 0.1.0)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ghcr.io/cloudnative-pg/postgresql:$CNPG_TAG-bookworm results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 3 in Dockerfile

View workflow job for this annotation

GitHub Actions / build_and_push (15.9, 0.1.0)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ghcr.io/cloudnative-pg/postgresql:$CNPG_TAG-bookworm results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 3 in Dockerfile

View workflow job for this annotation

GitHub Actions / build_and_push (16.5, 0.1.0)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ghcr.io/cloudnative-pg/postgresql:$CNPG_TAG-bookworm results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

Check warning on line 3 in Dockerfile

View workflow job for this annotation

GitHub Actions / build_and_push (17.1, 0.1.0)

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ghcr.io/cloudnative-pg/postgresql:$CNPG_TAG-bookworm results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

ARG CNPG_TAG
ARG VECTORCHORD_TAG
ARG TARGETARCH

# drop to root to install packages
USER root
ADD https://github.com/tensorchord/VectorChord/releases/download/$VECTORCHORD_TAG/vchord-pg${CNPG_TAG%.*}_${VECTORCHORD_TAG#"v"}_$TARGETARCH.deb ./vchord.deb
RUN apt install ./vchord.deb
ADD https://github.com/tensorchord/VectorChord/releases/download/$VECTORCHORD_TAG/vchord-pg${CNPG_TAG%.*}_${VECTORCHORD_TAG#"v"}_$TARGETARCH.deb /tmp/vchord.deb
RUN apt-get install -y /tmp/vchord.deb && rm -f /tmp/vchord.deb

USER postgres

0 comments on commit 36a29a7

Please sign in to comment.