Re: Update Old Version Public Keys?

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: Update Old Version Public Keys?
Дата
Msg-id 3FBE4444-B0C3-4EA9-8403-2F0DAE94D2BB@justatheory.com
обсуждение исходный текст
Ответ на Re: Update Old Version Public Keys?  (Christoph Berg <myon@debian.org>)
Ответы Re: Update Old Version Public Keys?
Список 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


Вложения

В списке pgsql-pkg-debian по дате отправления:

Предыдущее
От: Christoph Berg
Дата:
Сообщение: Re: Update Old Version Public Keys?
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: Update Old Version Public Keys?