Skip to content

Instantly share code, notes, and snippets.

@nevikw39
Created April 7, 2023 14:11
Show Gist options
  • Save nevikw39/68f4567b48ba24fe3363d47b178b0417 to your computer and use it in GitHub Desktop.
Save nevikw39/68f4567b48ba24fe3363d47b178b0417 to your computer and use it in GitHub Desktop.
vivado-docker
#### Vivado HL Design Edition Install Configuration ####
Edition=Vivado HL Design Edition
Product=Vivado
# Path where Xilinx software will be installed.
Destination=/opt/Xilinx
# Choose the Products/Devices the you would like to install.
Modules=Zynq UltraScale+ MPSoC:0,Versal AI Core Series ES1:0,Versal Prime Series:0,Add-On for MATLAB and Simulink:0,DocNav:1,Virtex UltraScale+ HBM:0,Virtex UltraScale+ 58G:0,Virtex UltraScale+ 58G ES:0,Kintex-7:0,Virtex UltraScale+:0,Zynq-7000:0,Versal AI Core Series:0,Kintex UltraScale+:0,Spartan-7:0,Kintex UltraScale:0,Virtex UltraScale:0,Engineering Sample Devices:0,Zynq UltraScale+ RFSoC:0,Virtex-7:0,Versal Prime Series ES1:0,Artix-7:1,Virtex UltraScale+ HBM ES:0,Model Composer and System Generator:0,Zynq UltraScale+ RFSoC ES:0
# Choose the post install scripts you'd like to run as part of the finalization step. Please note that some of these scripts may require user interaction during runtime.
InstallOptions=Acquire or Manage a License Key:0,Enable WebTalk for Vivado to send usage statistics to Xilinx (Always enabled for WebPACK license):0
## Shortcuts and File associations ##
# Choose whether Start menu/Application menu shortcuts will be created or not.
CreateProgramGroupShortcuts=1
# Choose the name of the Start menu/Application menu shortcut. This setting will be ignored if you choose NOT to create shortcuts.
ProgramGroupFolder=Xilinx Design Tools
# Choose whether shortcuts will be created for All users or just the Current user. Shortcuts can be created for all users only if you run the installer as administrator.
CreateShortcutsForAllUsers=0
# Choose whether shortcuts will be created on the desktop or not.
CreateDesktopShortcuts=1
# Choose whether file associations will be created or not.
CreateFileAssociation=1
# Choose whether disk usage will be optimized (reduced) after installation
EnableDiskUsageOptimization=1
FROM nevikw39/vivado-base
ENV DISPLAY=host.docker.internal:0
# SHELL ["/bin/bash", "-c"]
RUN \
apt update && \
apt install -y libtinfo5 xorg && \
apt clean && \
cd /opt/Xilinx/Vivado/2020.2/data/xicom/cable_drivers/lin64/install_script/install_drivers && \
./install_driver
CMD bash -c "source /opt/Xilinx/Vivado/2020.2/settings64.sh && vivado"
# Extract & Install Vivado
FROM amd64/ubuntu AS install
ARG XILINX_UNIFIED=Xilinx_Unified_2020.2_1118_1232
WORKDIR /tmp
COPY config.txt ${XILINX_UNIFIED} .
RUN ./xsetup -a XilinxEULA,3rdPartyEULA,WebTalkTerms -b install -c config.cfg
# Build the Image w/o Installer
FROM amd64/ubuntu
COPY --from=install /opt/Xilinx /opt/Xilinx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment