kicad_auto/Dockerfile-nightly

21 lines
1.5 KiB
Plaintext

FROM setsoft/kicad_debian:nightly
MAINTAINER Salvador E. Tropea <set@ieee.org>
LABEL Description="KiCad with KiBot and other automation scripts"
RUN sed -i -e's/ main/ main contrib non-free/g' /etc/apt/sources.list && \
apt-get update && \
apt-get -y install make wget curl rar bzip2 librsvg2-bin && \
wget https://launchpad.net/~kicad/+archive/ubuntu/kicad-5.1-releases/+files/kicad_5.1.9-202012230806+73d0e3b20d~88~ubuntu20.10.1_amd64.deb && \
apt-get -y install liboce-foundation11 liboce-modeling11 liboce-ocaf-lite11 liboce-ocaf11 liboce-visualization11 libgl2ps1.4 && \
dpkg -i /kicad_5.1.*.deb && \
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/INTI-CMNB/KiBot/releases/latest | grep "browser_download_url.*deb" | cut -d : -f 2,3 | tr -d \" | wget -i - && \
apt -y install --no-install-recommends ./*.deb && \
apt-get -y remove curl wget && \
apt-get -y autoremove && \
rm /*.deb && \
rm -rf /var/lib/apt/lists/*