Skip to content

Commit 03a51bd

Browse files
authored
Merge pull request #182 from citusdata/ihalatci-dependencies
updating versions to address vulnerabilities
2 parents 3c8dbc8 + 0ff0faa commit 03a51bd

10 files changed

Lines changed: 312 additions & 231 deletions

File tree

circleci/images/citusupgradetester/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# we cannot easily upgrade to python 3.11 as our mitmproxy fork does not ship with it
2-
FROM python:3.9.7-slim-bullseye AS base
1+
FROM python:3.12-slim-bookworm AS base
32

43
# add unpriviliged user for tests
54
RUN useradd -ms /bin/bash circleci
@@ -56,8 +55,8 @@ set -eux
5655

5756
# install key and repositories
5857
curl -sf https://www.postgresql.org/media/keys/ACCC4CF8.asc | APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add -
59-
echo "deb https://apt.postgresql.org/pub/repos/apt bullseye-pgdg main" >> /etc/apt/sources.list.d/postgresql.list
60-
echo "deb https://apt-archive.postgresql.org/pub/repos/apt bullseye-pgdg-archive main" >> /etc/apt/sources.list.d/postgresql.list
58+
echo "deb https://apt.postgresql.org/pub/repos/apt bookworm-pgdg main" >> /etc/apt/sources.list.d/postgresql.list
59+
echo "deb https://apt-archive.postgresql.org/pub/repos/apt bookworm-pgdg-archive main" >> /etc/apt/sources.list.d/postgresql.list
6160

6261
apt-get update
6362

Lines changed: 57 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,65 @@
1-
# generated from Citus's Pipfile.lock (in src/test/regress) as of #7491
1+
# generated from Citus's Pipfile.lock (in src/test/regress) as of #8422
22
# using `pipenv requirements > requirements.txt`, so as to avoid the
33
# need for pipenv/pyenv in this image
44

55
-i https://pypi.python.org/simple
6-
asgiref==3.4.1; python_version >= '3.6'
7-
blinker==1.4
8-
brotli==1.0.9
9-
certifi==2024.2.2; python_version >= '3.6'
10-
cffi==1.16.0; platform_python_implementation != 'PyPy'
11-
click==8.0.4; python_version >= '3.6'
12-
construct==2.9.45
13-
cryptography==42.0.3; python_version >= '3.7'
6+
aioquic==1.2.0; python_version >= '3.8'
7+
argon2-cffi==25.1.0; python_version >= '3.8'
8+
argon2-cffi-bindings==25.1.0; python_version >= '3.9'
9+
asgiref==3.10.0; python_version >= '3.9'
10+
attrs==25.4.0; python_version >= '3.9'
11+
bcrypt==5.0.0; python_version >= '3.8'
12+
blinker==1.9.0; python_version >= '3.9'
13+
brotli==1.2.0
14+
certifi==2026.1.4; python_version >= '3.7'
15+
cffi==2.0.0; python_version >= '3.9'
16+
click==8.3.1; python_version >= '3.10'
17+
construct==2.10.70; python_version >= '3.6'
18+
cryptography==44.0.3; python_version >= '3.7' and python_full_version not in '3.9.0, 3.9.1'
1419
docopt==0.6.2
15-
exceptiongroup==1.2.0; python_version < '3.11'
16-
execnet==2.0.2; python_version >= '3.7'
17-
filelock==3.13.1; python_version >= '3.8'
18-
flask==2.0.3; python_version >= '3.6'
19-
h11==0.12.0; python_version >= '3.6'
20-
h2==4.1.0; python_full_version >= '3.6.1'
21-
hpack==4.0.0; python_full_version >= '3.6.1'
22-
hyperframe==6.0.1; python_full_version >= '3.6.1'
23-
iniconfig==2.0.0; python_version >= '3.7'
24-
itsdangerous==2.1.2; python_version >= '3.7'
25-
jinja2==3.1.3; python_version >= '3.7'
26-
kaitaistruct==0.9
20+
execnet==2.1.2; python_version >= '3.8'
21+
filelock==3.20.2; python_version >= '3.10'
22+
flask==3.1.2; python_version >= '3.9'
23+
h11==0.16.0; python_version >= '3.8'
24+
h2==4.3.0; python_version >= '3.9'
25+
hpack==4.1.0; python_version >= '3.9'
26+
hyperframe==6.1.0; python_version >= '3.9'
27+
iniconfig==2.3.0; python_version >= '3.10'
28+
itsdangerous==2.2.0; python_version >= '3.8'
29+
jinja2==3.1.6; python_version >= '3.7'
30+
kaitaistruct==0.11; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
2731
ldap3==2.9.1
28-
markupsafe==2.1.5; python_version >= '3.7'
29-
-e git+https://github.com/citusdata/mitmproxy.git@2fd18ef051b987925a36337ab1d61aa674353b44#egg=mitmproxy
30-
msgpack==1.0.7; python_version >= '3.8'
31-
packaging==23.2; python_version >= '3.7'
32-
passlib==1.7.4
33-
pluggy==1.4.0; python_version >= '3.8'
34-
protobuf==3.18.3; python_version >= '3.5'
35-
psycopg==3.1.18; python_version >= '3.7'
32+
markupsafe==3.0.3; python_version >= '3.9'
33+
mitmproxy @ git+https://github.com/citusdata/mitmproxy.git@30b588eb1b7c66da233d7c471ec23f2b632ed531
34+
mitmproxy-linux==0.12.8; python_version >= '3.12'
35+
mitmproxy-rs==0.12.8; python_version >= '3.12'
36+
msgpack==1.1.2; python_version >= '3.9'
37+
packaging==25.0; python_version >= '3.8'
38+
pluggy==1.6.0; python_version >= '3.9'
39+
psycopg==3.3.2; python_version >= '3.10'
3640
publicsuffix2==2.20191221
37-
pyasn1==0.5.1; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5'
38-
pycparser==2.21
39-
pyopenssl==24.0.0; python_version >= '3.7'
40-
pyparsing==2.4.7; python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3'
41-
pyperclip==1.8.2
42-
pytest==8.0.0; python_version >= '3.8'
43-
pytest-asyncio==0.23.5; python_version >= '3.8'
44-
pytest-repeat==0.9.3; python_version >= '3.7'
45-
pytest-timeout==2.2.0; python_version >= '3.7'
46-
pytest-xdist==3.5.0; python_version >= '3.7'
47-
pyyaml==6.0.1; python_version >= '3.6'
48-
ruamel.yaml==0.17.16; python_version >= '3'
49-
ruamel.yaml.clib==0.2.8; python_version < '3.10' and platform_python_implementation == 'CPython'
41+
pyasn1==0.6.1; python_version >= '3.8'
42+
pyasn1-modules==0.4.2; python_version >= '3.8'
43+
pycparser==2.23; python_version >= '3.8'
44+
pygments==2.19.2; python_version >= '3.8'
45+
pylsqpack==0.3.23; python_version >= '3.10'
46+
pyopenssl==25.1.0; python_version >= '3.7'
47+
pyparsing==3.2.5; python_version >= '3.9'
48+
pyperclip==1.9.0
49+
pytest==9.0.2; python_version >= '3.10'
50+
pytest-asyncio==1.3.0; python_version >= '3.10'
51+
pytest-repeat==0.9.4; python_version >= '3.9'
52+
pytest-timeout==2.4.0; python_version >= '3.7'
53+
pytest-xdist==3.8.0; python_version >= '3.9'
54+
pyyaml==6.0.3; python_version >= '3.8'
55+
ruamel.yaml==0.18.16; python_version >= '3.8'
56+
ruamel.yaml.clib==0.2.15; python_version >= '3.9'
57+
service-identity==24.2.0; python_version >= '3.8'
5058
sortedcontainers==2.4.0
51-
tomli==2.0.1; python_version < '3.11'
52-
tornado==6.4; python_version >= '3.8'
53-
typing-extensions==4.9.0; python_version >= '3.8'
54-
urwid==2.1.2
55-
werkzeug==2.3.7; python_version >= '3.8'
56-
wsproto==1.0.0; python_full_version >= '3.6.1'
57-
zstandard==0.15.2; python_version >= '3.5'
59+
tornado==6.5.2; python_version >= '3.9'
60+
typing-extensions==4.14.0; python_version >= '3.9'
61+
urwid==3.0.3; python_full_version >= '3.9.0'
62+
wcwidth==0.2.14; python_version >= '3.6'
63+
werkzeug==3.1.0; python_version >= '3.9'
64+
wsproto==1.2.0; python_full_version >= '3.7.0'
65+
zstandard==0.25.0; python_version >= '3.9'

circleci/images/extbuilder/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM buildpack-deps:bullseye
1+
FROM buildpack-deps:bookworm
22

33
# add unpriviliged user for tests
44
RUN useradd -ms /bin/bash circleci
@@ -48,8 +48,8 @@ set -eux
4848

4949
# install key and repositories
5050
curl -sf https://www.postgresql.org/media/keys/ACCC4CF8.asc | APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add -
51-
echo "deb https://apt.postgresql.org/pub/repos/apt bullseye-pgdg main" >> /etc/apt/sources.list.d/postgresql.list
52-
echo "deb https://apt-archive.postgresql.org/pub/repos/apt bullseye-pgdg-archive main" >> /etc/apt/sources.list.d/postgresql.list
51+
echo "deb https://apt.postgresql.org/pub/repos/apt bookworm-pgdg main" >> /etc/apt/sources.list.d/postgresql.list
52+
echo "deb https://apt-archive.postgresql.org/pub/repos/apt bookworm-pgdg-archive main" >> /etc/apt/sources.list.d/postgresql.list
5353

5454
apt-get update
5555

circleci/images/exttester/Dockerfile

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# postgres doesn't ship their isolation tester in the server-dev images
22
# we use this builder to build the isolation tester from a specific version
3-
FROM buildpack-deps:bullseye AS dev-tools-builder
3+
FROM buildpack-deps:bookworm AS dev-tools-builder
44

55
RUN <<'EOF'
66
# install dependencies
@@ -65,7 +65,7 @@ WORKDIR /build/postgresql-${PG_VERSION_CLEAN}/build
6565
RUN ../configure --prefix /usr/lib/postgresql/${PG_MAJOR}/
6666
RUN make -sj8
6767

68-
FROM buildpack-deps:bullseye AS dev-tools-collection
68+
FROM buildpack-deps:bookworm AS dev-tools-collection
6969

7070
WORKDIR /collect
7171

@@ -84,7 +84,7 @@ COPY --from=dev-tools-builder /build/postgresql-${PG_VERSION_CLEAN}/build/src/te
8484
COPY --from=dev-tools-builder /build/postgresql-${PG_VERSION_CLEAN}/src/test/regress/ usr/lib/postgresql/${PG_MAJOR}/lib/regress/
8585
RUN rm -rf usr/lib/postgresql/${PG_MAJOR}/lib/regress/*.c usr/lib/postgresql/${PG_MAJOR}/lib/regress/*.h
8686

87-
FROM buildpack-deps:bullseye AS setup-environment
87+
FROM buildpack-deps:bookworm AS setup-environment
8888

8989
# add unpriviliged user for tests
9090
RUN useradd -ms /bin/bash circleci
@@ -153,8 +153,8 @@ set -eux
153153

154154
# install key and repositories
155155
curl -sf https://www.postgresql.org/media/keys/ACCC4CF8.asc | APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add -
156-
echo "deb https://apt.postgresql.org/pub/repos/apt bullseye-pgdg main" >> /etc/apt/sources.list.d/postgresql.list
157-
echo "deb https://apt-archive.postgresql.org/pub/repos/apt bullseye-pgdg-archive main" >> /etc/apt/sources.list.d/postgresql.list
156+
echo "deb https://apt.postgresql.org/pub/repos/apt bookworm-pgdg main" >> /etc/apt/sources.list.d/postgresql.list
157+
echo "deb https://apt-archive.postgresql.org/pub/repos/apt bookworm-pgdg-archive main" >> /etc/apt/sources.list.d/postgresql.list
158158

159159
apt-get update
160160

@@ -163,16 +163,17 @@ pgdg_version=$(apt list -a postgresql-server-dev-${PG_MAJOR} 2>/dev/null | grep
163163

164164
apt-get install -y --no-install-recommends --allow-downgrades \
165165
libdbi-perl \
166-
libdbd-pg-perl=3.16.3-1.pgdg110+1 \
167166
libpq-dev=${pgdg_version} \
168167
libpq5=${pgdg_version} \
169168
postgresql-${PG_MAJOR}=${pgdg_version} \
170169
postgresql-client-${PG_MAJOR}=${pgdg_version} \
171170
postgresql-${PG_MAJOR}-dbgsym=${pgdg_version} \
172171
postgresql-server-dev-${PG_MAJOR}=${pgdg_version} \
173-
postgresql-${PG_MAJOR}-wal2json \
172+
postgresql-${PG_MAJOR}-wal2json
174173

175-
# clear apt cache
174+
apt-get install -y --no-install-recommends -t bookworm libdbd-pg-perl
175+
176+
# clear apt cache
176177
rm -rf /var/lib/apt/lists/*
177178
EOF
178179

circleci/images/failtester/Dockerfile

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# we cannot easily upgrade to python 3.11 as our mitmproxy fork does not ship with it
2-
FROM python:3.9.7-slim-bullseye
1+
FROM python:3.12-slim-bookworm
32

43
# add unpriviliged user for tests
54
RUN useradd -ms /bin/bash circleci
@@ -55,8 +54,8 @@ RUN <<'EOF'
5554

5655
# install key and repositories
5756
curl -sf https://www.postgresql.org/media/keys/ACCC4CF8.asc | APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add -
58-
echo "deb https://apt.postgresql.org/pub/repos/apt bullseye-pgdg main" >> /etc/apt/sources.list.d/postgresql.list
59-
echo "deb https://apt-archive.postgresql.org/pub/repos/apt bullseye-pgdg-archive main" >> /etc/apt/sources.list.d/postgresql.list
57+
echo "deb https://apt.postgresql.org/pub/repos/apt bookworm-pgdg main" >> /etc/apt/sources.list.d/postgresql.list
58+
echo "deb https://apt-archive.postgresql.org/pub/repos/apt bookworm-pgdg-archive main" >> /etc/apt/sources.list.d/postgresql.list
6059

6160
apt-get update
6261

@@ -82,6 +81,23 @@ ENV PATH=/usr/lib/postgresql/$PG_MAJOR/bin/:$PATH
8281
RUN mkdir -p /var/run/postgresql && chown -R postgres:postgres /var/run/postgresql && chmod 2777 /var/run/postgresql
8382

8483
COPY ./files/etc/requirements.txt /tmp/etc/
85-
RUN pip3 install -Ir /tmp/etc/requirements.txt
84+
RUN <<EOF
85+
set -eux
86+
87+
pip3 install -Ir /tmp/etc/requirements.txt
88+
89+
MITMDUMP_BIN="$(python3 -c 'import sysconfig, pathlib; print(pathlib.Path(sysconfig.get_path("scripts")) / "mitmdump")')"
90+
91+
if [ ! -x "$MITMDUMP_BIN" ]; then
92+
echo "mitmdump executable not found at $MITMDUMP_BIN" >&2
93+
exit 1
94+
fi
95+
96+
if [ "$MITMDUMP_BIN" != "/usr/local/bin/mitmdump" ]; then
97+
ln -sf "$MITMDUMP_BIN" /usr/local/bin/mitmdump
98+
fi
99+
100+
hash mitmdump
101+
EOF
86102

87103
WORKDIR /home/circleci
Lines changed: 57 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,65 @@
1-
# generated from Citus's Pipfile.lock (in src/test/regress) as of #7491
1+
# generated from Citus's Pipfile.lock (in src/test/regress) as of #8422
22
# using `pipenv requirements > requirements.txt`, so as to avoid the
33
# need for pipenv/pyenv in this image
44

55
-i https://pypi.python.org/simple
6-
asgiref==3.4.1; python_version >= '3.6'
7-
blinker==1.4
8-
brotli==1.0.9
9-
certifi==2024.2.2; python_version >= '3.6'
10-
cffi==1.16.0; platform_python_implementation != 'PyPy'
11-
click==8.0.4; python_version >= '3.6'
12-
construct==2.9.45
13-
cryptography==42.0.3; python_version >= '3.7'
6+
aioquic==1.2.0; python_version >= '3.8'
7+
argon2-cffi==25.1.0; python_version >= '3.8'
8+
argon2-cffi-bindings==25.1.0; python_version >= '3.9'
9+
asgiref==3.10.0; python_version >= '3.9'
10+
attrs==25.4.0; python_version >= '3.9'
11+
bcrypt==5.0.0; python_version >= '3.8'
12+
blinker==1.9.0; python_version >= '3.9'
13+
brotli==1.2.0
14+
certifi==2026.1.4; python_version >= '3.7'
15+
cffi==2.0.0; python_version >= '3.9'
16+
click==8.3.1; python_version >= '3.10'
17+
construct==2.10.70; python_version >= '3.6'
18+
cryptography==44.0.3; python_version >= '3.7' and python_full_version not in '3.9.0, 3.9.1'
1419
docopt==0.6.2
15-
exceptiongroup==1.2.0; python_version < '3.11'
16-
execnet==2.0.2; python_version >= '3.7'
17-
filelock==3.13.1; python_version >= '3.8'
18-
flask==2.0.3; python_version >= '3.6'
19-
h11==0.12.0; python_version >= '3.6'
20-
h2==4.1.0; python_full_version >= '3.6.1'
21-
hpack==4.0.0; python_full_version >= '3.6.1'
22-
hyperframe==6.0.1; python_full_version >= '3.6.1'
23-
iniconfig==2.0.0; python_version >= '3.7'
24-
itsdangerous==2.1.2; python_version >= '3.7'
25-
jinja2==3.1.3; python_version >= '3.7'
26-
kaitaistruct==0.9
20+
execnet==2.1.2; python_version >= '3.8'
21+
filelock==3.20.2; python_version >= '3.10'
22+
flask==3.1.2; python_version >= '3.9'
23+
h11==0.16.0; python_version >= '3.8'
24+
h2==4.3.0; python_version >= '3.9'
25+
hpack==4.1.0; python_version >= '3.9'
26+
hyperframe==6.1.0; python_version >= '3.9'
27+
iniconfig==2.3.0; python_version >= '3.10'
28+
itsdangerous==2.2.0; python_version >= '3.8'
29+
jinja2==3.1.6; python_version >= '3.7'
30+
kaitaistruct==0.11; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
2731
ldap3==2.9.1
28-
markupsafe==2.1.5; python_version >= '3.7'
29-
-e git+https://github.com/citusdata/mitmproxy.git@2fd18ef051b987925a36337ab1d61aa674353b44#egg=mitmproxy
30-
msgpack==1.0.7; python_version >= '3.8'
31-
packaging==23.2; python_version >= '3.7'
32-
passlib==1.7.4
33-
pluggy==1.4.0; python_version >= '3.8'
34-
protobuf==3.18.3; python_version >= '3.5'
35-
psycopg==3.1.18; python_version >= '3.7'
32+
markupsafe==3.0.3; python_version >= '3.9'
33+
mitmproxy @ git+https://github.com/citusdata/mitmproxy.git@30b588eb1b7c66da233d7c471ec23f2b632ed531
34+
mitmproxy-linux==0.12.8; python_version >= '3.12'
35+
mitmproxy-rs==0.12.8; python_version >= '3.12'
36+
msgpack==1.1.2; python_version >= '3.9'
37+
packaging==25.0; python_version >= '3.8'
38+
pluggy==1.6.0; python_version >= '3.9'
39+
psycopg==3.3.2; python_version >= '3.10'
3640
publicsuffix2==2.20191221
37-
pyasn1==0.5.1; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3, 3.4, 3.5'
38-
pycparser==2.21
39-
pyopenssl==24.0.0; python_version >= '3.7'
40-
pyparsing==2.4.7; python_version >= '2.6' and python_version not in '3.0, 3.1, 3.2, 3.3'
41-
pyperclip==1.8.2
42-
pytest==8.0.0; python_version >= '3.8'
43-
pytest-asyncio==0.23.5; python_version >= '3.8'
44-
pytest-repeat==0.9.3; python_version >= '3.7'
45-
pytest-timeout==2.2.0; python_version >= '3.7'
46-
pytest-xdist==3.5.0; python_version >= '3.7'
47-
pyyaml==6.0.1; python_version >= '3.6'
48-
ruamel.yaml==0.17.16; python_version >= '3'
49-
ruamel.yaml.clib==0.2.8; python_version < '3.10' and platform_python_implementation == 'CPython'
41+
pyasn1==0.6.1; python_version >= '3.8'
42+
pyasn1-modules==0.4.2; python_version >= '3.8'
43+
pycparser==2.23; python_version >= '3.8'
44+
pygments==2.19.2; python_version >= '3.8'
45+
pylsqpack==0.3.23; python_version >= '3.10'
46+
pyopenssl==25.1.0; python_version >= '3.7'
47+
pyparsing==3.2.5; python_version >= '3.9'
48+
pyperclip==1.9.0
49+
pytest==9.0.2; python_version >= '3.10'
50+
pytest-asyncio==1.3.0; python_version >= '3.10'
51+
pytest-repeat==0.9.4; python_version >= '3.9'
52+
pytest-timeout==2.4.0; python_version >= '3.7'
53+
pytest-xdist==3.8.0; python_version >= '3.9'
54+
pyyaml==6.0.3; python_version >= '3.8'
55+
ruamel.yaml==0.18.16; python_version >= '3.8'
56+
ruamel.yaml.clib==0.2.15; python_version >= '3.9'
57+
service-identity==24.2.0; python_version >= '3.8'
5058
sortedcontainers==2.4.0
51-
tomli==2.0.1; python_version < '3.11'
52-
tornado==6.4; python_version >= '3.8'
53-
typing-extensions==4.9.0; python_version >= '3.8'
54-
urwid==2.1.2
55-
werkzeug==2.3.7; python_version >= '3.8'
56-
wsproto==1.0.0; python_full_version >= '3.6.1'
57-
zstandard==0.15.2; python_version >= '3.5'
59+
tornado==6.5.2; python_version >= '3.9'
60+
typing-extensions==4.14.0; python_version >= '3.9'
61+
urwid==3.0.3; python_full_version >= '3.9.0'
62+
wcwidth==0.2.14; python_version >= '3.6'
63+
werkzeug==3.1.0; python_version >= '3.9'
64+
wsproto==1.2.0; python_full_version >= '3.7.0'
65+
zstandard==0.25.0; python_version >= '3.9'

circleci/images/pgupgradetester/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
# we cannot easily upgrade to python 3.11 as our mitmproxy fork does not ship with it
2-
FROM python:3.9.7-slim-bullseye
1+
FROM python:3.12-slim-bookworm
32

43
# add unpriviliged user for tests
54
RUN useradd -ms /bin/bash circleci
@@ -56,8 +55,8 @@ set -eux
5655

5756
# install key and repositories
5857
curl -sf https://www.postgresql.org/media/keys/ACCC4CF8.asc | APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add -
59-
echo "deb https://apt.postgresql.org/pub/repos/apt bullseye-pgdg main" >> /etc/apt/sources.list.d/postgresql.list
60-
echo "deb https://apt-archive.postgresql.org/pub/repos/apt bullseye-pgdg-archive main" >> /etc/apt/sources.list.d/postgresql.list
58+
echo "deb https://apt.postgresql.org/pub/repos/apt bookworm-pgdg main" >> /etc/apt/sources.list.d/postgresql.list
59+
echo "deb https://apt-archive.postgresql.org/pub/repos/apt bookworm-pgdg-archive main" >> /etc/apt/sources.list.d/postgresql.list
6160

6261
apt-get update
6362

0 commit comments

Comments
 (0)