Skip to content

Commit

Permalink
Update Dockerfile to kicad_auto:ki8
Browse files Browse the repository at this point in the history
  • Loading branch information
ceoloide authored Apr 11, 2024
1 parent 1f4c743 commit 676f577
Showing 1 changed file with 6 additions and 20 deletions.
26 changes: 6 additions & 20 deletions kibot/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,29 +1,15 @@
FROM ghcr.io/inti-cmnb/kicad_debian:ki7
FROM setsoft/kicad_auto:ki8
LABEL Author="Marco Massarelli <[email protected]>"
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

0 comments on commit 676f577

Please sign in to comment.