[CI/CD] Added curl, pip and unzip install to non-full images

This commit is contained in:
Salvador E. Tropea 2023-03-16 12:55:24 -03:00
parent 6c9c581e44
commit cf98ca05c8
3 changed files with 6 additions and 0 deletions

View File

@ -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/*

View File

@ -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/*

View File

@ -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/*