Re: Update Old Version Public Keys? - Mailing list pgsql-pkg-debian

From David E. Wheeler
Subject Re: Update Old Version Public Keys?
Date
Msg-id 3FBE4444-B0C3-4EA9-8403-2F0DAE94D2BB@justatheory.com
Whole thread Raw
In response to Re: Update Old Version Public Keys?  (Christoph Berg <myon@debian.org>)
Responses Re: Update Old Version Public Keys?
List pgsql-pkg-debian
> There's a shell script to automate these bits in postgresql-common 204
> or newer:
>
> /usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -v 13
>
> https://salsa.debian.org/postgresql/postgresql-common/-/blob/master/pgdg/apt.postgresql.org.sh

Okay. I’m doing this:

ADD  https://www.postgresql.org/media/keys/ACCC4CF8.asc .
RUN apt-key add ACCC4CF8.asc \
    && rm ACCC4CF8.asc \
    && echo deb http://apt.postgresql.org/pub/repos/apt buster-pgdg main > /etc/apt/sources.list.d/pgdg.list

This is so that the container can install any supported version (except 13). Is it possible to have both? Should I grab
apt.postgresql.org.shand use it to set up both the normal repo *and* for 13? Something like: 

ADD https://salsa.debian.org/postgresql/postgresql-common/-/blob/master/pgdg/apt.postgresql.org.sh \
    && apt.postgresql.org.sh \
    && /apt.postgresql.org.sh -v 13

And then would it support `apt-get install postgresql-13`?

Thanks,

David


Attachment

pgsql-pkg-debian by date:

Previous
From: Christoph Berg
Date:
Subject: Re: Update Old Version Public Keys?
Next
From: "David E. Wheeler"
Date:
Subject: Re: Update Old Version Public Keys?