Merge pull request #38 from TheSlowGrowth/feature/install-kicad-git-filters

Added kicad-git-filters installation to Dockerfile
This commit is contained in:
Salvador E. Tropea 2021-01-04 15:59:43 -03:00 committed by GitHub
commit 9b5fa66b2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -2,6 +2,15 @@ FROM setsoft/kicad_auto:latest
LABEL AUTHOR Salvador E. Tropea <set@ieee.org>
LABEL Description="export various files from KiCad projects"
RUN apt-get update && \
apt-get -y install make wget curl && \
curl -s https://api.github.com/repos/INTI-CMNB/kicad-git-filters/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/*
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh