select PostgreSQL major release more specifically
This commit is contained in:
parent
c9200b8d39
commit
1f56389cbd
@ -66,6 +66,7 @@ ENV LANG=en_US.UTF8
|
|||||||
|
|
||||||
ADD https://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc /etc/apt/keyrings/pgdg.gpg.bin
|
ADD https://apt.postgresql.org/pub/repos/apt/ACCC4CF8.asc /etc/apt/keyrings/pgdg.gpg.bin
|
||||||
COPY /apt/sources.pgdg /etc/apt/sources.list.d/pgdg.sources
|
COPY /apt/sources.pgdg /etc/apt/sources.list.d/pgdg.sources
|
||||||
|
COPY /apt/preferences.pgdg /etc/apt/preferences.d/pgdg
|
||||||
RUN env -C /etc/apt/keyrings gpg-export.sh pgdg.gpg.bin pgdg.gpg.asc
|
RUN env -C /etc/apt/keyrings gpg-export.sh pgdg.gpg.bin pgdg.gpg.asc
|
||||||
|
|
||||||
COPY --from=postgresql-upstream /etc/postgresql-common/createcluster.conf /etc/postgresql-common/
|
COPY --from=postgresql-upstream /etc/postgresql-common/createcluster.conf /etc/postgresql-common/
|
||||||
|
7
apt/preferences.pgdg
Normal file
7
apt/preferences.pgdg
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
Package: *
|
||||||
|
Pin: release a=bookworm-pgdg
|
||||||
|
Pin-Priority: 600
|
||||||
|
|
||||||
|
Package: src:postgresql-16
|
||||||
|
Pin: release a=bookworm-pgdg
|
||||||
|
Pin-Priority: 700
|
Loading…
Reference in New Issue
Block a user