Skip to content

MLAB-project/kicad_debian

 
 

Repository files navigation

kicad_debian

Docker image for KiCad on Debian GNU/Linux.

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

The images are uploaded to Docker Hub.

The current tags are:

  • 10.3-5.0.2 is Debian 10.3 + KiCad 5.0.2 (default stable)
  • 10.3-5.1.5 is Debian 10.3 + KiCad 5.1.5 (backport)
  • 10.4-5.1.6 is Debian 10.4 + KiCad 5.1.6 (backport)
  • latest is Debian 10.4 + KiCad 5.1.9 (backport)
  • bullseye-6.0.0rc1-20211202 (same as nightly) is Debian bullseye (11.x) + KiCad 6.0.0 rc1 (20211202). A beta.
  • ki6.0.0_Ubuntu21.10 is Ubuntu Impish (21.10) + KiCad 6.0.0
  • ki6.0.2_Debian (same as ki6) is Debian 11.2 + KiCad 6.0.2

The installations are minimal, but contains schematic and footprint libraries. The 3D models aren't included, they weight 10 times the size of these images.

If you want to run interactively 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" \
    setsoft/kicad_auto:latest kicad

The following scripts are provided as examples:

  • build.sh creates the image from the Dockerfile
  • run_kicad_same_user.sh runs KiCad using the same user you are using in the host system, your home directory is shared with the docker image.
  • run_shell_same_user.sh runs a shell using the same user you are using in the host system, your home directory is shared with the docker image.

About

Docker image for KiCad on Debian GNU/Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 74.8%
  • Dockerfile 25.2%