Skip to content

Commit

Permalink
chore: install pkg-config for PyMySQL compatibility (#894)
Browse files Browse the repository at this point in the history
* chore: install pkg-config for PyMySQL compatibility

* chore: add noninteractive option to allow the image to build
  • Loading branch information
leangseu-edx committed Jul 6, 2023
1 parent 7cdfcdb commit fe8c57b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ FROM ubuntu:focal as app
# System requirements

RUN apt-get update && \
apt-get upgrade -qy && apt-get install language-pack-en locales git \
python3.8-dev python3-virtualenv libmysqlclient-dev libssl-dev build-essential wget unzip -qy && \
apt-get upgrade -qy && DEBIAN_FRONTEND=noninteractive apt-get install language-pack-en locales git \
python3.8-dev python3-virtualenv libmysqlclient-dev libssl-dev build-essential pkg-config wget unzip -qy && \
rm -rf /var/lib/apt/lists/*

# Python is Python3.
Expand Down

0 comments on commit fe8c57b

Please sign in to comment.