Vivado installed into a docker image for CI purposes.
- This docker file assumes the Vivado download is available on a webserver somewhere. This can easily be the build machine using the webserver in Python.
cd /path/to/Vivado/download python -m http.server
- Copy your Vivado
Xilinx.lic
file into the directory. - Potentialy modify the
install_config.txt
to change the install options. - Build the image (will take about 10 minutes) passing in a build arg
docker build --build-arg VIVADO_TAR_HOST=host_ip:8000 --build-arg VIVADO_TAR_FILE=Xilinx_Vivado_SDK_2017.4_1216_1 -t hblr/vivado:2017.4 --build-arg VIVADO_VERSION=2017.4 .
The Dockerfile
sets up a vivado
user to avoid running as root. I have only considered running Vivado in batch
mode for running CI simulations and building bit files. For development work with the GUI you may have to fiddle with X11 settings.