z4yx / petalinux-docker

Dockerfile to build docker images with Petalinux (Tested on version 2018.3~2021.1)
MIT License
114 stars 65 forks source link
docker petalinux xilinx

petalinux-docker

Copy petalinux-v2020.2-final-installer.run file to this folder. Then run:

docker build --build-arg PETA_VERSION=2020.2 --build-arg PETA_RUN_FILE=petalinux-v2020.2-final-installer.run -t petalinux:2020.2 .

After installation, launch petalinux with:

docker run -ti --rm -e DISPLAY=$DISPLAY --net="host" -v /tmp/.X11-unix:/tmp/.X11-unix -v $HOME/.Xauthority:/home/vivado/.Xauthority -v $HOME/Projects:/home/vivado/project petalinux:2020.2 /bin/bash