Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
fix: Install pkg-config in image to satisfy mysqlclient==2.2.0 (#541)
Browse files Browse the repository at this point in the history
This requirement was recently upgraded, and was causing devstack
provisioning tests to fail.
  • Loading branch information
timmc-edx committed Jul 5, 2023
1 parent b058057 commit ec8b7b8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,13 @@ RUN apt-get install -qy \
python3-pip \
python3-virtualenv \
python3.8-dev \
# libmysqlclient-dev header files needed to use native C implementation for MySQL-python for performance gains.
libmysqlclient-dev \
libssl-dev && \
# mysqlclient wont install without libssl-dev
libssl-dev \
# mysqlclient>=2.2.0 requires pkg-config (https://github.com/PyMySQL/mysqlclient/issues/620)
pkg-config \
&& \
# delete apt package lists because we do not need them inflating our image
rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit ec8b7b8

Please sign in to comment.