This is for building a WiringPi enviroment.
-
- Build & Run
$ git clone https://github.com/atomon/Dockerfile.git $ cd Dockerfile/raspberry-pi/WiringPi/ $ docker-compose up --build -d $ docker-compose exec WiringPi bash
- Build & Run
-
-
To clone the current relesse:
$ git clone https://github.com/atomon/Dockerfile.git
Build:
$ docker build -t my/wiringpi:latest Dockerfile/raspberry-pi/WiringPi/
-
To run a docker container based on my/image:
$ docker run -it \ --name WiringPi \ --privileged \ -v /tmp/.X11-unix:/tmp/.X11-unix \ -e DISPLAY=$DISPLAY \ -e QT_X11_NO_MITSHM=1 \ my/wiringpi:latest /bin/bash
-