Created docker file for GitHub Action "v2"
This commit is contained in:
parent
e1b219bea3
commit
6aa883eb91
|
|
@ -1,4 +1,4 @@
|
|||
FROM setsoft/kicad_auto:dev
|
||||
FROM setsoft/kicad_auto:latest
|
||||
LABEL AUTHOR Salvador E. Tropea <set@ieee.org>
|
||||
LABEL Description="export various files from KiCad projects"
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,19 @@
|
|||
FROM setsoft/kicad_auto:dev
|
||||
LABEL AUTHOR Salvador E. Tropea <set@ieee.org>
|
||||
LABEL Description="export various files from KiCad projects"
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get -y install -t buster-backports 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
|
||||
|
||||
WORKDIR /mnt
|
||||
|
||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
FROM setsoft/kicad_auto:dev_k6
|
||||
LABEL AUTHOR Salvador E. Tropea <set@ieee.org>
|
||||
LABEL Description="export various files from KiCad projects"
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get -y install -t bullseye-backports curl && \
|
||||
apt-get -y install make wget && \
|
||||
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
|
||||
|
||||
WORKDIR /mnt
|
||||
|
||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
FROM setsoft/kicad_auto:dev
|
||||
FROM setsoft/kicad_auto:latest
|
||||
LABEL AUTHOR Salvador E. Tropea <set@ieee.org>
|
||||
LABEL Description="export various files from KiCad projects"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue