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

Commit

Permalink
Merge pull request #644 from openedx/michaelroytman/update-Dockerfile…
Browse files Browse the repository at this point in the history
…-pkg-config-mysqlclient-dependency

fix: install pkg-config dependency for mysqlclient>=2.2.0
  • Loading branch information
MichaelRoytman authored Jul 7, 2023
2 parents 566dfb7 + ba2882c commit 7e6f27d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
FROM ubuntu:focal as base

# System requirements.

# pkg-config; mysqlclient>=2.2.0 requires pkg-config (https://github.com/PyMySQL/mysqlclient/issues/620)

RUN apt update && \
apt-get install -qy \
DEBIAN_FRONTEND=noninteractive apt-get install -qy \
curl \
vim \
language-pack-en \
Expand All @@ -11,6 +14,7 @@ RUN apt update && \
python3-virtualenv \
python3.8-distutils \
libmysqlclient-dev \
pkg-config \
libssl-dev && \
rm -rf /var/lib/apt/lists/*

Expand Down

0 comments on commit 7e6f27d

Please sign in to comment.