Skip to content

Commit e96ceb3

Browse files
committed
update remaining images to bookworm
1 parent d510681 commit e96ceb3

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

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
87+
FROM buildpack-deps:bookworm
8888

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

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

157157
apt-get update
158158

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

162162
apt-get install -y --no-install-recommends --allow-downgrades \
163163
libdbi-perl \
164-
libdbd-pg-perl=3.16.3-1.pgdg110+1 \
165164
libpq-dev=${pgdg_version} \
166165
libpq5=${pgdg_version} \
167166
postgresql-${PG_MAJOR}=${pgdg_version} \
168167
postgresql-client-${PG_MAJOR}=${pgdg_version} \
169168
postgresql-${PG_MAJOR}-dbgsym=${pgdg_version} \
170169
postgresql-server-dev-${PG_MAJOR}=${pgdg_version} \
171-
postgresql-${PG_MAJOR}-wal2json \
170+
postgresql-${PG_MAJOR}-wal2json
172171

173-
# clear apt cache
172+
apt-get install -y --no-install-recommends -t bookworm libdbd-pg-perl
173+
174+
# clear apt cache
174175
rm -rf /var/lib/apt/lists/*
175176
EOF
176177

circleci/images/stylechecker/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# we cannot easily upgrade to python 3.11 as our mitmproxy fork does not ship with it
21
FROM alpine:latest
32
ARG TOOLS_VERSION
43

0 commit comments

Comments
 (0)