From cf98ca05c8646860a6b31d5d683803f76c74ab61 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Thu, 16 Mar 2023 12:55:24 -0300 Subject: [PATCH] [CI/CD] Added curl, pip and unzip install to non-full images --- tools/dev_image_k5/Dockerfile | 2 ++ tools/dev_image_k6/Dockerfile | 2 ++ tools/dev_image_k7/Dockerfile | 2 ++ 3 files changed, 6 insertions(+) diff --git a/tools/dev_image_k5/Dockerfile b/tools/dev_image_k5/Dockerfile index e4991ba4..a4319959 100644 --- a/tools/dev_image_k5/Dockerfile +++ b/tools/dev_image_k5/Dockerfile @@ -4,6 +4,7 @@ LABEL Description="KiCad 5 with KiBot and other automation scripts" RUN dpkg --remove kicost kibot && \ apt-get update && \ + apt-get -y install --no-install-recommends curl unzip python3-pip && \ curl https://codeload.github.com/INTI-CMNB/KiBot/zip/refs/heads/dev --output pp.zip && \ unzip pp.zip && \ pip3 install --no-compile KiBot-dev/ && \ @@ -11,6 +12,7 @@ RUN dpkg --remove kicost kibot && \ curl https://codeload.github.com/hildogjr/KiCost/zip/refs/heads/master --output pp.zip && \ unzip pp.zip && \ pip3 install KiCost-master/ && \ + apt-get -y remove curl unzip python3-pip && \ rm -rf KiCost-master pp.zip && \ rm -rf /var/lib/apt/lists/* diff --git a/tools/dev_image_k6/Dockerfile b/tools/dev_image_k6/Dockerfile index fe37257a..98a7b408 100644 --- a/tools/dev_image_k6/Dockerfile +++ b/tools/dev_image_k6/Dockerfile @@ -4,6 +4,7 @@ LABEL Description="KiCad 6 with KiBot and other automation scripts" RUN dpkg --remove kicost kibot && \ apt-get update && \ + apt-get -y install --no-install-recommends curl unzip python3-pip && \ curl https://codeload.github.com/INTI-CMNB/KiBot/zip/refs/heads/dev --output pp.zip && \ unzip pp.zip && \ pip3 install --no-compile KiBot-dev/ && \ @@ -11,6 +12,7 @@ RUN dpkg --remove kicost kibot && \ curl https://codeload.github.com/hildogjr/KiCost/zip/refs/heads/master --output pp.zip && \ unzip pp.zip && \ pip3 install KiCost-master/ && \ + apt-get -y remove curl unzip python3-pip && \ rm -rf KiCost-master pp.zip && \ rm -rf /var/lib/apt/lists/* diff --git a/tools/dev_image_k7/Dockerfile b/tools/dev_image_k7/Dockerfile index 26ac551e..58afcdbd 100644 --- a/tools/dev_image_k7/Dockerfile +++ b/tools/dev_image_k7/Dockerfile @@ -4,6 +4,7 @@ LABEL Description="KiCad 6 with KiBot and other automation scripts" RUN dpkg --remove kicost kibot && \ apt-get update && \ + apt-get -y install --no-install-recommends curl unzip python3-pip && \ curl https://codeload.github.com/INTI-CMNB/KiBot/zip/refs/heads/dev --output pp.zip && \ unzip pp.zip && \ pip3 install --no-compile KiBot-dev/ && \ @@ -11,6 +12,7 @@ RUN dpkg --remove kicost kibot && \ curl https://codeload.github.com/hildogjr/KiCost/zip/refs/heads/master --output pp.zip && \ unzip pp.zip && \ pip3 install KiCost-master/ && \ + apt-get -y remove curl unzip python3-pip && \ rm -rf KiCost-master pp.zip && \ rm -rf /var/lib/apt/lists/*