/beaver-kicad

Need to do some PCB design but the recent upgrade to Ubuntu 18.04 broke your KiCad?

GNU General Public License v3.0GPL-3.0

Running KiCad in Ubuntu 18.04 using Docker

Need to do some PCB design but the recent upgrade to Ubuntu 18.04 broke your KiCad?

This image based on Ubuntu 16.04 and KiCad 4.0 from js-reynaud's PPA might help.

Building

First, install Docker:

sudo apt-get install docker.io

Then build build the image (this step takes a while as it downloads the whole KiCad library):

git clone https://github.com/adamheinrich/beaver-kicad.git
cd beaver-kicad
docker build -t beaver-kicad .

Running

Finally, cd to the directory with your KiCad project (so that pwd can retrieve its path) and run the image. The project directory will be mounted in /kicad-project:

docker run -ti --rm \
	-v /tmp/.X11-unix:/tmp/.X11-unix \
	-v $XAUTHORITY:/tmp/.Xauthority \
	-v `pwd`:/kicad-project \
	-e DISPLAY=$DISPLAY \
	-e XAUTHORITY=/tmp/.Xauthority \
	beaver-kicad

Credits