Skip to content

Commit

Permalink
Explicitly install libdb-dev when building Python runtimes (#1582)
Browse files Browse the repository at this point in the history
Required so that the Python `dbm.ndbm` stdlib module will be built, now
that `libdb-dev` is no longer in the Heroku-24 build image:
heroku/base-images#303

(These headers are only needed when the Python runtimes are being
compiled. The run image still has the necessary runtime library
counterparts.)

GUS-W-15159536.
  • Loading branch information
edmorley committed May 14, 2024
1 parent a743d7d commit e7fc041
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions builds/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ USER root

RUN apt-get update --error-on=any \
&& apt-get install -y --no-install-recommends \
libdb-dev \
libreadline-dev \
libsqlite3-dev \
&& rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit e7fc041

Please sign in to comment.