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.
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 .
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
- docker-kicad by Seppe Stas
- Running GUI apps with Docker by Fabio Rehm