Update Dockerfile to kicad_auto:ki8

This commit is contained in:
Marco Massarelli 2024-04-11 03:39:36 +00:00 committed by GitHub
parent 1f4c7433a9
commit 676f577427
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 20 deletions

View File

@ -1,29 +1,15 @@
FROM ghcr.io/inti-cmnb/kicad_debian:ki7
FROM setsoft/kicad_auto:ki8
LABEL Author="Marco Massarelli <marco.massarelli@gmail.com>"
LABEL Description="KiCad (nightly) with the latest KiBot release and other dependencies"
LABEL Description="Ergogen, Freerouting (CLI 1.0.0 and latest), and KiCad Auto (KiCad 8) scripts"
RUN apt-get update && \
echo "Use wget to download some stuff" && \
apt -y install --no-install-recommends wget && \
wget https://github.com/INTI-CMNB/KiBoM/releases/download/v1.9.0/kibom.inti-cmnb_1.9.0-1_all.deb && \
wget https://github.com/INTI-CMNB/kicad-git-filters/releases/download/v1.0.1/kicad-git-filters_1.0.1-1_all.deb && \
wget https://github.com/set-soft/kicost-digikey-api-v3/releases/download/v0.1.3/kicost-digikey-api-v3_0.1.3-1_all.deb && \
wget https://github.com/INTI-CMNB/KiCost/releases/download/v1.1.5rc5/kicost_1.1.5-5_all.deb && \
wget https://github.com/INTI-CMNB/InteractiveHtmlBom/releases/download/v2.7.0-1/interactivehtmlbom.inti-cmnb_2.7.0-1_all.deb && \
wget https://github.com/set-soft/pcbnewTransition/releases/download/v0.3.4-6/python3-pcbnewtransition_0.3.4-6_all.deb && \
wget https://github.com/INTI-CMNB/KiAuto/releases/download/v2.2.8/kiauto_2.2.8-1_all.deb && \
wget https://github.com/INTI-CMNB/KiDiff/releases/download/v2.4.7/kidiff_2.4.7-1_all.deb && \
wget https://github.com/INTI-CMNB/KiBot/releases/download/v1.6.3/kibot_1.6.3-1_all.deb && \
apt -y install --no-install-recommends ./*.deb && \
apt -y install --no-install-recommends nodejs npm xvfb && \
apt -y install --no-install-recommends nodejs npm xvfb wget && \
npm install -g https://github.com/ergogen/ergogen#develop && \
apt -y install openjdk-17-jre && \
apt -y install openjdk-21-jre && \
wget http://www.repo.hu/projects/freerouting_cli/releases-jar/freerouting_cli-1.tar.gz && \
tar xvf freerouting_cli-1.tar.gz && \
cp /freerouting_cli/lib/freerouting_cli.jar /opt/freerouting_cli.jar && \
wget https://github.com/freerouting/freerouting/releases/download/v1.9.0/freerouting-1.9.0.jar && \
mv freerouting-1.9.0.jar /opt/freerouting-1.9.0.jar && \
apt-get -y remove wget && \
wget https://github.com/freerouting/freerouting/releases/download/SNAPSHOT/freerouting-SNAPSHOT-20240405_140200.jar && \
mv freerouting-SNAPSHOT-20240405_140200.jar /opt/freerouting.jar && \
apt-get -y autoremove && \
rm /*.deb && \
rm -rf /var/lib/apt/lists/* /var/cache/debconf/templates.dat-old /var/lib/dpkg/status-old