From fe8c57b03e68e209fbd286be98f489addac04382 Mon Sep 17 00:00:00 2001 From: leangseu-edx <83240113+leangseu-edx@users.noreply.github.com> Date: Thu, 6 Jul 2023 13:18:01 -0400 Subject: [PATCH] chore: install pkg-config for PyMySQL compatibility (#894) * chore: install pkg-config for PyMySQL compatibility * chore: add noninteractive option to allow the image to build --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 342e3c3b..fd461be5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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.