-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
fix glibc error
- Loading branch information
There are no files selected for viewing
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 GitHub Actions / build_and_push (14.14, 0.1.0)Default value for global ARG results in an empty or invalid base image name
Check warning on line 3 in Dockerfile GitHub Actions / build_and_push (15.9, 0.1.0)Default value for global ARG results in an empty or invalid base image name
Check warning on line 3 in Dockerfile GitHub Actions / build_and_push (16.5, 0.1.0)Default value for global ARG results in an empty or invalid base image name
Check warning on line 3 in Dockerfile GitHub Actions / build_and_push (17.1, 0.1.0)Default value for global ARG results in an empty or invalid base image name
Check warning on line 3 in Dockerfile GitHub Actions / build_and_push (14.14, 0.1.0)Default value for global ARG results in an empty or invalid base image name
Check warning on line 3 in Dockerfile GitHub Actions / build_and_push (15.9, 0.1.0)Default value for global ARG results in an empty or invalid base image name
Check warning on line 3 in Dockerfile GitHub Actions / build_and_push (16.5, 0.1.0)Default value for global ARG results in an empty or invalid base image name
Check warning on line 3 in Dockerfile GitHub Actions / build_and_push (17.1, 0.1.0)Default value for global ARG results in an empty or invalid base image name
|
||
|
||
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 | ||
|