From 564fdbb4bb08ccd1706d234d004eb55e93c8ad14 Mon Sep 17 00:00:00 2001 From: Nick Santamaria Date: Tue, 16 Jan 2024 16:21:06 +1100 Subject: [PATCH] Fixed python package installation --- images/ci-builder/Dockerfile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/images/ci-builder/Dockerfile b/images/ci-builder/Dockerfile index efdbe4b9..02a713d4 100644 --- a/images/ci-builder/Dockerfile +++ b/images/ci-builder/Dockerfile @@ -38,15 +38,12 @@ RUN curl -L "https://github.com/github/hub/releases/download/v${HUB_VERSION}/hub chmod +x /tmp/hub-linux-386-${HUB_VERSION}/bin/hub && \ mv /tmp/hub-linux-386-${HUB_VERSION}/bin/hub /usr/local/bin -# Install Python dependencies not available in apk. -RUN pip install --ignore-installed \ - flake8 \ - yamllint \ - ansible-lint \ - boto3 - -## Install required PHP extensions for Drupal +## Install required PHP extensions for Drupal and python packages. RUN apk add --no-cache \ + py3-flake8 \ + py3-ansible-lint \ + py3-boto3 \ + yamllint \ libpng \ libpng-dev \ libjpeg-turbo-dev \