Switched to generate dev* images using kicad_auto instead of kicad_debian
This commit is contained in:
parent
9dfbfd6e3d
commit
70e01b3710
|
|
@ -1,25 +1,10 @@
|
||||||
FROM setsoft/kicad_debian:latest
|
FROM setsoft/kicad_auto:latest
|
||||||
MAINTAINER Salvador E. Tropea <set@ieee.org>
|
MAINTAINER Salvador E. Tropea <set@ieee.org>
|
||||||
LABEL Description="KiCad with KiBot and other automation scripts"
|
LABEL Description="KiCad 5 with KiBot and other automation scripts"
|
||||||
|
|
||||||
# KiCost release
|
RUN dpkg --remove kicost kibot && \
|
||||||
# curl -s https://api.github.com/repos/hildogjr/KiCost/releases/latest | grep "browser_download_url.*deb" | cut -d : -f 2,3 | tr -d \" | wget -i - && \
|
apt-get update && \
|
||||||
|
apt-get -y install --no-install-recommends -t buster-backports python3-pip unzip curl python3-setuptools python3-wheel && \
|
||||||
RUN sed -i -e's/ main/ main contrib non-free/g' /etc/apt/sources.list && \
|
|
||||||
apt-get update && \
|
|
||||||
apt-get -y install -t buster-backports make wget curl rar bzip2 librsvg2-bin && \
|
|
||||||
apt-get -y install python3-pip python3-distutils unzip && \
|
|
||||||
apt-get -y install --no-install-recommends imagemagick python3-qrcodegen git poppler-utils ghostscript && \
|
|
||||||
apt-get -y install --no-install-recommends python3-bs4 python3-lxml python3-tqdm && \
|
|
||||||
curl -s https://api.github.com/repos/INTI-CMNB/KiAuto/releases/latest | grep "browser_download_url.*deb" | cut -d : -f 2,3 | tr -d \" | wget -i - && \
|
|
||||||
curl -s https://api.github.com/repos/INTI-CMNB/KiBoM/releases/latest | grep "browser_download_url.*deb" | cut -d : -f 2,3 | tr -d \" | wget -i - && \
|
|
||||||
curl -s https://api.github.com/repos/INTI-CMNB/InteractiveHtmlBom/releases/latest | grep "browser_download_url.*deb" | cut -d : -f 2,3 | tr -d \" | wget -i - && \
|
|
||||||
curl -s https://api.github.com/repos/INTI-CMNB/PcbDraw/releases/latest | grep "browser_download_url.*deb" | cut -d : -f 2,3 | tr -d \" | wget -i - && \
|
|
||||||
curl -s https://api.github.com/repos/set-soft/kicost-digikey-api-v3/releases/latest | grep "browser_download_url.*deb" | cut -d : -f 2,3 | tr -d \" | wget -i - && \
|
|
||||||
wget https://github.com/hildogjr/KiCost/releases/download/v1.1.6/python3-validators_0.14.2-2_all.deb && \
|
|
||||||
apt -y install --no-install-recommends ./*.deb && \
|
|
||||||
sed -i 's/<policy domain="coder" rights="none" pattern="PDF" \/>/<!-- <policy domain="coder" rights="none" pattern="PDF" \/> -->/g' /etc/ImageMagick-6/policy.xml && \
|
|
||||||
sed -i 's/<policy domain="coder" rights="none" pattern="PS" \/>/<!-- <policy domain="coder" rights="none" pattern="PS" \/> -->/g' /etc/ImageMagick-6/policy.xml && \
|
|
||||||
curl https://codeload.github.com/INTI-CMNB/KiBot/zip/refs/heads/master --output pp.zip && \
|
curl https://codeload.github.com/INTI-CMNB/KiBot/zip/refs/heads/master --output pp.zip && \
|
||||||
unzip pp.zip && \
|
unzip pp.zip && \
|
||||||
pip3 install --no-compile KiBot-master/ && \
|
pip3 install --no-compile KiBot-master/ && \
|
||||||
|
|
@ -28,7 +13,5 @@ RUN sed -i -e's/ main/ main contrib non-free/g' /etc/apt/sources.list && \
|
||||||
unzip pp.zip && \
|
unzip pp.zip && \
|
||||||
pip3 install KiCost-master/ && \
|
pip3 install KiCost-master/ && \
|
||||||
rm -rf KiCost-master pp.zip && \
|
rm -rf KiCost-master pp.zip && \
|
||||||
apt-get -y remove curl wget python3-pip unzip && \
|
apt-get -y remove curl python3-pip unzip python3-setuptools python3-wheel && \
|
||||||
apt-get -y autoremove && \
|
|
||||||
rm /*.deb && \
|
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
|
||||||
|
|
@ -1,22 +1,10 @@
|
||||||
FROM setsoft/kicad_debian:ki6
|
FROM setsoft/kicad_auto:ki6
|
||||||
MAINTAINER Salvador E. Tropea <set@ieee.org>
|
MAINTAINER Salvador E. Tropea <set@ieee.org>
|
||||||
LABEL Description="KiCad with KiBot and other automation scripts"
|
LABEL Description="KiCad 6 with KiBot and other automation scripts"
|
||||||
|
|
||||||
RUN sed -i -e's/ main/ main contrib non-free/g' /etc/apt/sources.list && \
|
RUN dpkg --remove kicost kibot && \
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get -y install -t bullseye-backports curl && \
|
apt-get -y install --no-install-recommends -t bullseye-backports python3-pip unzip curl python3-setuptools python3-wheel && \
|
||||||
apt-get -y install make wget rar bzip2 librsvg2-bin && \
|
|
||||||
apt-get -y install python3-pip python3-distutils unzip && \
|
|
||||||
apt-get -y install --no-install-recommends imagemagick python3-qrcodegen git poppler-utils ghostscript && \
|
|
||||||
apt-get -y install --no-install-recommends python3-bs4 python3-lxml python3-tqdm python3-validators && \
|
|
||||||
curl -s https://api.github.com/repos/INTI-CMNB/KiAuto/releases/latest | grep "browser_download_url.*deb" | cut -d : -f 2,3 | tr -d \" | wget -i - && \
|
|
||||||
curl -s https://api.github.com/repos/INTI-CMNB/KiBoM/releases/latest | grep "browser_download_url.*deb" | cut -d : -f 2,3 | tr -d \" | wget -i - && \
|
|
||||||
curl -s https://api.github.com/repos/INTI-CMNB/InteractiveHtmlBom/releases/latest | grep "browser_download_url.*deb" | cut -d : -f 2,3 | tr -d \" | wget -i - && \
|
|
||||||
curl -s https://api.github.com/repos/INTI-CMNB/PcbDraw/releases/latest | grep "browser_download_url.*deb" | cut -d : -f 2,3 | tr -d \" | wget -i - && \
|
|
||||||
curl -s https://api.github.com/repos/set-soft/kicost-digikey-api-v3/releases/latest | grep "browser_download_url.*deb" | cut -d : -f 2,3 | tr -d \" | wget -i - && \
|
|
||||||
apt -y install --no-install-recommends ./*.deb && \
|
|
||||||
sed -i 's/<policy domain="coder" rights="none" pattern="PDF" \/>/<!-- <policy domain="coder" rights="none" pattern="PDF" \/> -->/g' /etc/ImageMagick-6/policy.xml && \
|
|
||||||
sed -i 's/<policy domain="coder" rights="none" pattern="PS" \/>/<!-- <policy domain="coder" rights="none" pattern="PS" \/> -->/g' /etc/ImageMagick-6/policy.xml && \
|
|
||||||
curl https://codeload.github.com/INTI-CMNB/KiBot/zip/refs/heads/master --output pp.zip && \
|
curl https://codeload.github.com/INTI-CMNB/KiBot/zip/refs/heads/master --output pp.zip && \
|
||||||
unzip pp.zip && \
|
unzip pp.zip && \
|
||||||
pip3 install --no-compile KiBot-master/ && \
|
pip3 install --no-compile KiBot-master/ && \
|
||||||
|
|
@ -25,7 +13,6 @@ RUN sed -i -e's/ main/ main contrib non-free/g' /etc/apt/sources.list && \
|
||||||
unzip pp.zip && \
|
unzip pp.zip && \
|
||||||
pip3 install KiCost-master/ && \
|
pip3 install KiCost-master/ && \
|
||||||
rm -rf KiCost-master pp.zip && \
|
rm -rf KiCost-master pp.zip && \
|
||||||
apt-get -y remove curl wget python3-pip unzip && \
|
apt-get -y remove curl python3-pip unzip python3-setuptools python3-wheel && \
|
||||||
apt-get -y autoremove && \
|
|
||||||
rm /*.deb && \
|
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue