Added experimental Manjaro image
This commit is contained in:
parent
b29c86006e
commit
510422f36a
|
|
@ -0,0 +1,37 @@
|
||||||
|
name: Docker Hub upload (normal)
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
tags:
|
||||||
|
- b*
|
||||||
|
repository_dispatch:
|
||||||
|
types: [build_mk6]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
push_to_registry:
|
||||||
|
name: Push Docker image to Docker Hub
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Check out the repo
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Log in to Docker Hub
|
||||||
|
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
|
||||||
|
with:
|
||||||
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
|
- name: Extract metadata (tags, labels) for Docker
|
||||||
|
id: meta
|
||||||
|
uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
|
||||||
|
with:
|
||||||
|
images: setsoft/kicad_auto
|
||||||
|
|
||||||
|
- name: Build and push Docker image
|
||||||
|
uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc
|
||||||
|
with:
|
||||||
|
# context: tools/dev_image
|
||||||
|
push: true
|
||||||
|
tags: setsoft/kicad_auto:manjaro_k6
|
||||||
|
labels: ${{ steps.meta.outputs.labels }}
|
||||||
|
|
@ -0,0 +1,36 @@
|
||||||
|
FROM manjarolinux/base
|
||||||
|
MAINTAINER Salvador E. Tropea <set@ieee.org>
|
||||||
|
LABEL Description="KiCad with KiBot and other automation scripts"
|
||||||
|
|
||||||
|
RUN pacman -Syyu --noconfirm && \
|
||||||
|
pacman -S yay binutils python-pip --noconfirm && \
|
||||||
|
su builder -c "yay -S --noconfirm rar" && \
|
||||||
|
pacman -S kicad kicad-library ghostscript gsfonts imagemagick librsvg pandoc texlive-core --noconfirm && \
|
||||||
|
pacman -S recordmydesktop xdotool xclip libxslt python-psutil python-xvfbwrapper --noconfirm && \
|
||||||
|
pip install KiAuto && \
|
||||||
|
pacman -S python-xlsxwriter --noconfirm && \
|
||||||
|
git clone https://github.com/INTI-CMNB/KiBoM.git && \
|
||||||
|
cd KiBoM/ && \
|
||||||
|
pip install . && \
|
||||||
|
cd .. && \
|
||||||
|
rm -r KiBoM/ && \
|
||||||
|
git clone https://github.com/INTI-CMNB/InteractiveHtmlBom.git && \
|
||||||
|
cd InteractiveHtmlBom/ && \
|
||||||
|
pip install . && \
|
||||||
|
cd .. && \
|
||||||
|
rm -r InteractiveHtmlBom/ && \
|
||||||
|
pip install KiDiff && \
|
||||||
|
pacman -S python-numpy python-lxml python-mistune1 python-pybars3 python-wand python-yaml python-pcbnewtransition python-scipy --noconfirm && \
|
||||||
|
su builder -c "yay -S python-svgpathtools-git --noconfirm" && \
|
||||||
|
git clone https://github.com/INTI-CMNB/PcbDraw.git && \
|
||||||
|
cd PcbDraw/ && \
|
||||||
|
git submodule update --init --recursive && \
|
||||||
|
git checkout v0.9.0_maintain && \
|
||||||
|
pip install . && \
|
||||||
|
cd .. && \
|
||||||
|
rm -r PcbDraw/ && \
|
||||||
|
pacman -S python-inflection python-pyopenssl python-tldextract python-dateutil --noconfirm && \
|
||||||
|
pip install kicost_digikey_api_v3 dependencies && \
|
||||||
|
pacman -S python-beautifulsoup4 python-tqdm python-validators python-colorama python-pillow --noconfirm && \
|
||||||
|
pip install kicost && \
|
||||||
|
pip install kibot
|
||||||
|
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
docker build -f Dockerfile -t setsoft/kicad_auto:manjaro_k6 .
|
||||||
Loading…
Reference in New Issue