Fixes in the `dev` images.
- Now they install the current git code for KiCost Related to #169
This commit is contained in:
parent
b4ff830c7d
commit
8b282250e3
|
|
@ -2,6 +2,9 @@ FROM setsoft/kicad_debian:latest
|
|||
MAINTAINER Salvador E. Tropea <set@ieee.org>
|
||||
LABEL Description="KiCad with KiBot and other automation scripts"
|
||||
|
||||
# KiCost release
|
||||
# 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 - && \
|
||||
|
||||
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 && \
|
||||
|
|
@ -11,12 +14,15 @@ RUN sed -i -e's/ main/ main contrib non-free/g' /etc/apt/sources.list && \
|
|||
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/KiCost/releases/latest | grep "browser_download_url.*deb" | cut -d : -f 2,3 | tr -d \" | wget -i - && \
|
||||
apt -y install --no-install-recommends ./*.deb && \
|
||||
curl https://codeload.github.com/INTI-CMNB/KiBot/zip/refs/heads/master --output pp.zip && \
|
||||
unzip pp.zip && \
|
||||
pip3 install --no-compile KiBot-master/ && \
|
||||
rm -rf KiBot-master pp.zip && \
|
||||
curl https://codeload.github.com/hildogjr/KiCost/zip/refs/heads/master --output pp.zip && \
|
||||
unzip pp.zip && \
|
||||
pip3 install KiCost-master/ && \
|
||||
rm -rf KiCost-master pp.zip && \
|
||||
apt-get -y remove curl wget python3-pip unzip && \
|
||||
apt-get -y autoremove && \
|
||||
rm /*.deb && \
|
||||
|
|
|
|||
|
|
@ -12,12 +12,15 @@ RUN sed -i -e's/ main/ main contrib non-free/g' /etc/apt/sources.list && \
|
|||
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/KiCost/releases/latest | grep "browser_download_url.*deb" | cut -d : -f 2,3 | tr -d \" | wget -i - && \
|
||||
apt -y install --no-install-recommends ./*.deb && \
|
||||
curl https://codeload.github.com/INTI-CMNB/KiBot/zip/refs/heads/master --output pp.zip && \
|
||||
unzip pp.zip && \
|
||||
pip3 install --no-compile KiBot-master/ && \
|
||||
rm -rf KiBot-master pp.zip && \
|
||||
curl https://codeload.github.com/hildogjr/KiCost/zip/refs/heads/master --output pp.zip && \
|
||||
unzip pp.zip && \
|
||||
pip3 install KiCost-master/ && \
|
||||
rm -rf KiCost-master pp.zip && \
|
||||
apt-get -y remove curl wget python3-pip unzip && \
|
||||
apt-get -y autoremove && \
|
||||
rm /*.deb && \
|
||||
|
|
|
|||
Loading…
Reference in New Issue