File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change 1
1
# renovate: datasource=docker depName=ghcr.io/cloudnative-pg/postgresql
2
2
ARG CNPG_TAG="17.5-1"
3
3
4
- FROM ghcr.io/cloudnative-pg/postgresql:$CNPG_TAG
4
+ FROM ghcr.io/cloudnative-pg/postgresql:$CNPG_TAG-bookworm
5
5
6
6
ARG CNPG_TAG
7
7
ARG POSTGRES_VERSION=${CNPG_TAG%.*}
@@ -11,13 +11,8 @@ ARG VECTORCHORD_TAG="0.3.0"
11
11
12
12
# To install any package we need to be root
13
13
USER root
14
-
15
- # Install any extensions that we want
16
- ADD https://github.com/tensorchord/VectorChord/releases/download/${VECTORCHORD_TAG}/postgresql-${POSTGRES_VERSION}-vchord_${VECTORCHORD_TAG}-1_amd64.deb ./vchord.deb
17
-
18
- # Copy extensions from previous stage, install, then remove
19
- RUN apt-get install -y --no-install-recommends ./vchord.deb && \
20
- rm -rf /download
14
+ ADD https://github.com/tensorchord/VectorChord/releases/download/${VECTORCHORD_TAG}/postgresql-${POSTGRES_VERSION}-vchord_${VECTORCHORD_TAG}-1_amd64.deb /tmp/vchord.deb
15
+ RUN apt-get install -y /tmp/vchord.deb && rm -f /tmp/vchord.deb
21
16
22
17
# Change to the uid of postgres (26)
23
- USER 26
18
+ USER postgres
You can’t perform that action at this time.
0 commit comments