From 1458708bd13c638b4bdcad86b889c16b15bc782c Mon Sep 17 00:00:00 2001 From: Andrei Litvin Date: Tue, 25 Jan 2022 09:33:40 -0500 Subject: [PATCH] Add various pip3 packages to the zap image, for use in generate.py and similar (#13889) * Add various pip3 packages to the zap image, for use in generate.py and similar helpers * Fix typo (missing =) * Use --no-cache-dir option for image size reducion (thanks Damian!) --- integrations/docker/images/chip-build-zap/Dockerfile | 11 ++++++++++- integrations/docker/images/chip-build/version | 2 +- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/integrations/docker/images/chip-build-zap/Dockerfile b/integrations/docker/images/chip-build-zap/Dockerfile index 700171d4ce8b10..2c18beb2456d93 100644 --- a/integrations/docker/images/chip-build-zap/Dockerfile +++ b/integrations/docker/images/chip-build-zap/Dockerfile @@ -13,4 +13,13 @@ RUN apk add --no-cache \ libjpeg-turbo-dev=2.1.0-r0 \ giflib-dev=5.2.1-r0 \ git=2.32.0-r0 \ - clang-dev=11.1.0-r1 + clang-dev=11.1.0-r1 \ + py3-pip=20.3.4-r1 + +# Generator dependencies +RUN pip3 install --no-cache-dir \ + click==8.0.3 \ + coloredlogs==15.0.1 \ + jinja2==3.0.3 \ + lark==1.0.0 \ + stringcase==1.2.0 diff --git a/integrations/docker/images/chip-build/version b/integrations/docker/images/chip-build/version index 7228568e02e4b4..525be45eb4c957 100644 --- a/integrations/docker/images/chip-build/version +++ b/integrations/docker/images/chip-build/version @@ -1 +1 @@ -0.5.51 Version bump reason: Add Docker image for NXP imx platform +0.5.52 Version bump reason: add python packages to zap image, for use by the python control scripts