Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.21 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.21 KB

docker-mplabx

MPLABX: the MPLAB X Integrated Development Environment docker container.

Based on Bruno Binet's MPLABX Docker

Build

To create the image xanderhendriks/mplabx, execute the following command in the docker-mplabx folder:

docker build -t xanderhendriks/mplabx .

You can now push the new image to the public registry:

docker push xanderhendriks/mplabx

Run

Then, when starting your mplabx container, you will want to share the X11 socket file as a volume so that the MPLAB X windows can be displayed on you Xorg server. You may also need to run command xhost + on the host.

$ docker pull xanderhendriks/mplabx

With GUI: $ docker run -it --name mplabx
-v /tmp/.X11-unix:/tmp/.X11-unix
-v /path/to/mplab/projects:/mount
-e DISPLAY=:0.0
--mac-address= --entrypoint /opt/microchip/mplabx/v5.40/mplab_platform/bin/mplab_ide xanderhendriks/mplabx

Without GUI: $ docker run -it -v /path/to/mplab/projects:/mount --mac-address=00:ff:7d:ef:d0:e5 xanderhendriks/mplabx