Skip to content

Commit 96af88a

Browse files
committed
Install debugsymbol packages for extensions we use
1 parent a2452d1 commit 96af88a

File tree

1 file changed

+25
-17
lines changed

1 file changed

+25
-17
lines changed

Dockerfile

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -173,30 +173,38 @@ RUN packages=""; \
173173
for pg in ${PG_VERSIONS}; do \
174174
export FULL_VERSION="$(/build/scripts/pg_version.sh ${pg})*" ; \
175175
packages="$packages postgresql-client-${pg}=${FULL_VERSION} postgresql-${pg}=${FULL_VERSION} postgresql-server-dev-${pg}=${FULL_VERSION} postgresql-${pg}-dbgsym=${FULL_VERSION} \
176-
postgresql-plpython3-${pg}=${FULL_VERSION} postgresql-plperl-${pg}=${FULL_VERSION} postgresql-${pg}-pgextwlist \
177-
postgresql-${pg}-repack postgresql-${pg}-unit postgresql-${pg}-pgpcre postgresql-${pg}-wal2json \
178-
postgresql-${pg}-pgq3 postgresql-${pg}-ip4r postgresql-${pg}-pgtap postgresql-${pg}-semver \
179-
postgresql-${pg}-hypopg \
180-
postgresql-${pg}-h3 \
181-
postgresql-${pg}-pgvector \
182-
postgresql-${pg}-pgrouting \
183-
postgresql-${pg}-cron \
184-
postgresql-${pg}-pgaudit \
185-
postgresql-${pg}-pg-qualstats \
186-
postgresql-${pg}-pg-stat-kcache \
187-
postgresql-${pg}-pglogical \
188-
postgresql-${pg}-hll \
189-
postgresql-${pg}-pldebugger \
190-
postgresql-${pg}-rum \
191-
postgresql-${pg}-orafce"; \
176+
postgresql-plpython3-${pg}=${FULL_VERSION} postgresql-plpython3-${pg}-dbgsym=${FULL_VERSION} \
177+
postgresql-plperl-${pg}=${FULL_VERSION} postgresql-plperl-${pg}-dbgsym=${FULL_VERSION} \
178+
postgresql-${pg}-pgextwlist postgresql-${pg}-pgextwlist-dbgsym \
179+
postgresql-${pg}-repack postgresql-${pg}-repack-dbgsym \
180+
postgresql-${pg}-unit postgresql-${pg}-unit-dbgsym \
181+
postgresql-${pg}-pgpcre postgresql-${pg}-pgpcre-dbgsym \
182+
postgresql-${pg}-wal2json postgresql-${pg}-wal2json-dbgsym \
183+
postgresql-${pg}-pgq3 postgresql-${pg}-pgq3-dbgsym \
184+
postgresql-${pg}-ip4r postgresql-${pg}-ip4r-dbgsym \
185+
postgresql-${pg}-pgtap \
186+
postgresql-${pg}-semver postgresql-${pg}-semver-dbgsym \
187+
postgresql-${pg}-hypopg postgresql-${pg}-hypopg-dbgsym \
188+
postgresql-${pg}-h3 postgresql-${pg}-h3-dbgsym \
189+
postgresql-${pg}-pgvector postgresql-${pg}-pgvector-dbgsym \
190+
postgresql-${pg}-pgrouting postgresql-${pg}-pgrouting-dbgsym \
191+
postgresql-${pg}-cron postgresql-${pg}-cron-dbgsym \
192+
postgresql-${pg}-pgaudit postgresql-${pg}-pgaudit-dbgsym \
193+
postgresql-${pg}-pg-qualstats postgresql-${pg}-pg-qualstats-dbgsym \
194+
postgresql-${pg}-pg-stat-kcache postgresql-${pg}-pg-stat-kcache-dbgsym \
195+
postgresql-${pg}-pglogical postgresql-${pg}-pglogical-dbgsym \
196+
postgresql-${pg}-hll postgresql-${pg}-hll-dbgsym \
197+
postgresql-${pg}-pldebugger postgresql-${pg}-pldebugger-dbgsym \
198+
postgresql-${pg}-rum postgresql-${pg}-rum-dbgsym \
199+
postgresql-${pg}-orafce postgresql-${pg}-orafce-dbgsym"; \
192200
done; \
193201
apt-get install -y $packages
194202

195203
ARG POSTGIS_VERSIONS="3"
196204
RUN if [ -n "${POSTGIS_VERSIONS}" ]; then \
197205
for postgisv in ${POSTGIS_VERSIONS}; do \
198206
for pg in ${PG_VERSIONS}; do \
199-
apt-get install -y postgresql-${pg}-postgis-${postgisv}; \
207+
apt-get install -y postgresql-${pg}-postgis-${postgisv} postgresql-${pg}-postgis-${postgisv}-dbgsym; \
200208
done; \
201209
done; \
202210
fi

0 commit comments

Comments
 (0)