GithubHelp home page GithubHelp logo

alitekin2fx / kicad_debian Goto Github PK

View Code? Open in Web Editor NEW

This project forked from inti-cmnb/kicad_debian

0.0 0.0 0.0 22.15 MB

Docker image for KiCad on Debian GNU/Linux

License: Apache License 2.0

Shell 59.52% Python 7.75% Dockerfile 32.73%

kicad_debian's Introduction

kicad_debian

Docker image for KiCad on Debian GNU/Linux.

The main objetive is to use it as a base for KiBot (KiCad automation in CI/CD environments).

The images are uploaded to Docker Hub and the GitHub packages kicad5_debian, kicad6_debian and kicad7_debian.

The current tags at GitHub are:

KiCad 5

  • ghcr.io/inti-cmnb/kicad5_debian:5.1.6_d10.4 KiCad 5.1.6 (backport) on Debian 10.4
  • ghcr.io/inti-cmnb/kicad5_debian:5.1.9_d10.4 KiCad 5.1.9 (backport) on Debian 10.4
  • ghcr.io/inti-cmnb/kicad5_debian:5.1.9_d11.5 KiCad 5.1.9 on Debian 11.5
  • ghcr.io/inti-cmnb/kicad5_debian:5.1.9_d11.6 KiCad 5.1.9 on Debian 11.6

KiCad 6

  • ghcr.io/inti-cmnb/kicad6_debian:6.0.0_u21.10 KiCad 6.0.0 on Ubuntu Impish (21.10)
  • ghcr.io/inti-cmnb/kicad6_debian:6.0.2_d11.2 KiCad 6.0.2 (backport) on Debian 11.2
  • ghcr.io/inti-cmnb/kicad6_debian:6.0.4_d11.3 KiCad 6.0.4 (backport) on Debian 11.3
  • ghcr.io/inti-cmnb/kicad6_debian:6.0.5_d11.3 KiCad 6.0.5 (backport) on Debian 11.3
  • ghcr.io/inti-cmnb/kicad6_debian:6.0.6_d11.4 KiCad 6.0.6 (backport) on Debian 11.4 (6.0.7 libs)
  • ghcr.io/inti-cmnb/kicad6_debian:6.0.7_d11.5 KiCad 6.0.7 (backport) on Debian 11.5
  • ghcr.io/inti-cmnb/kicad6_debian:6.0.8_d11.5 KiCad 6.0.8 (backport) on Debian 11.5
  • ghcr.io/inti-cmnb/kicad6_debian:6.0.9_d11.5 KiCad 6.0.9 (backport) on Debian 11.5
  • ghcr.io/inti-cmnb/kicad6_debian:6.0.10_d11.6 KiCad 6.0.10 (backport) on Debian 11.6
  • ghcr.io/inti-cmnb/kicad6_debian:6.0.11_d11.6 KiCad 6.0.11 (backport) on Debian 11.6

KiCad 7

  • ghcr.io/inti-cmnb/kicad7_debian:7.0.1.1_d11.6 KiCad 7.0.1.1 on Debian 11.6

Note: 7.0.1.1 add the following patches to 7.0.1:

Originally the installations were minimal, but starting with 6.0.11 they contain the KiBot and other plug-in dependencies. This was done to reduce the differences between KiBot docker images.

The 3D models aren't included, they weight 10 times the size of these images (makes them 2.5 bigger when compressed), a script called kicad_3d_install.sh is included, run it to install the libraries. Note that KiBot downloads the 3D models on-demand.

If you want to run KiCad interactively from the image use:

export USER_ID=$(id -u)
export GROUP_ID=$(id -g)
docker run -it -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY=$DISPLAY \
    --user $USER_ID:$GROUP_ID \
    --env NO_AT_BRIDGE=1 \
    --workdir="/home/$USER" \
    --volume="/etc/group:/etc/group:ro" \
    --volume="/home/$USER:/home/$USER:rw" \
    --volume="/etc/passwd:/etc/passwd:ro" \
    --volume="/etc/shadow:/etc/shadow:ro" \
    --volume="/home/$USER:/home/$USER:rw" \
    ghcr.io/inti-cmnb/kicad7_debian:latest kicad

Various script examples are included in this repo.

The images are used to create KiBot images that you can find in the kicad_auto and kicad_auto_test project. The relation between the packages that contains the images is as depicted in the following image:

Layers

Note that now we also have images tagged with *_full these images contains some heavy tools used by KiBot, they include:

  • Blender 3.4
  • Pandoc
  • LaTeX
  • Python test tools

These images are the base for kicad_auto_test images (aka kicad_auto_full)

kicad_debian's People

Contributors

set-soft avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.