├── doc ├── runtime.png ├── docker_images.png ├── install_xrt_shell.png └── notice_disclaimer.txt ├── Dockerfiles ├── 2020.1 │ ├── centos │ │ ├── Dockerfile │ │ └── Xilinx_notice_and_disclaimer.txt │ ├── ubuntu-16.04 │ │ ├── Dockerfile │ │ └── Xilinx_notice_and_disclaimer.txt │ └── ubuntu-18.04 │ │ ├── Dockerfile │ │ └── Xilinx_notice_and_disclaimer.txt ├── 2018.3 │ ├── ubuntu-16.04 │ │ ├── Dockerfile │ │ └── Xilinx_notice_and_disclaimer.txt │ ├── ubuntu-18.04 │ │ ├── Dockerfile │ │ └── Xilinx_notice_and_disclaimer.txt │ └── centos │ │ ├── Dockerfile │ │ └── Xilinx_notice_and_disclaimer.txt ├── 2019.1 │ ├── ubuntu-16.04 │ │ ├── Dockerfile │ │ └── Xilinx_notice_and_disclaimer.txt │ ├── ubuntu-18.04 │ │ ├── Dockerfile │ │ └── Xilinx_notice_and_disclaimer.txt │ └── centos │ │ ├── Dockerfile │ │ └── Xilinx_notice_and_disclaimer.txt ├── 2019.2 │ ├── ubuntu-16.04 │ │ ├── Dockerfile │ │ └── Xilinx_notice_and_disclaimer.txt │ ├── ubuntu-18.04 │ │ ├── Dockerfile │ │ └── Xilinx_notice_and_disclaimer.txt │ └── centos │ │ ├── Dockerfile │ │ └── Xilinx_notice_and_disclaimer.txt ├── 2022.2_noshell │ ├── ubuntu-22.04 │ │ ├── Dockerfile │ │ └── .bashrc │ ├── centos-7 │ │ └── .bashrc │ ├── ubuntu-18.04 │ │ └── .bashrc │ └── ubuntu-20.04 │ │ ├── .bashrc │ │ └── Dockerfile ├── 2023.1_noshell │ ├── ubuntu-22.04 │ │ ├── Dockerfile │ │ └── .bashrc │ ├── centos-7 │ │ └── .bashrc │ ├── ubuntu-18.04 │ │ └── .bashrc │ └── ubuntu-20.04 │ │ ├── .bashrc │ │ └── Dockerfile ├── 2020.2 │ ├── centos-8 │ │ └── Dockerfile │ ├── ubuntu-18.04 │ │ └── Dockerfile │ ├── ubuntu-16.04 │ │ └── Dockerfile │ └── centos-7 │ │ └── Dockerfile ├── 2021.1 │ ├── al2 │ │ └── Dockerfile │ ├── ubuntu-20.04 │ │ └── Dockerfile │ └── centos-8 │ │ └── Dockerfile ├── 2022.2 │ ├── ubuntu-22.04 │ │ ├── Dockerfile │ │ └── .bashrc │ ├── centos-7 │ │ └── .bashrc │ ├── ubuntu-18.04 │ │ └── .bashrc │ └── ubuntu-20.04 │ │ ├── .bashrc │ │ └── Dockerfile ├── 2021.2 │ ├── al2 │ │ └── Dockerfile │ └── ubuntu-20.04 │ │ └── Dockerfile ├── 2023.1 │ ├── ubuntu-22.04 │ │ ├── Dockerfile │ │ └── .bashrc │ ├── centos-7 │ │ └── .bashrc │ ├── ubuntu-18.04 │ │ └── .bashrc │ └── ubuntu-20.04 │ │ ├── .bashrc │ │ └── Dockerfile ├── 2022.1_noshell │ ├── ubuntu-20.04 │ │ ├── Dockerfile │ │ └── .bashrc │ ├── centos-7 │ │ └── .bashrc │ └── ubuntu-18.04 │ │ ├── .bashrc │ │ └── Dockerfile └── 2022.1 │ ├── centos-7 │ └── .bashrc │ ├── ubuntu-18.04 │ └── .bashrc │ └── ubuntu-20.04 │ ├── .bashrc │ └── Dockerfile ├── utilities ├── xilinx_azure_docker_setup.sh ├── xilinx_docker_setup.sh ├── xilinx_aws_docker_setup.sh └── docker_install.sh ├── conf └── spec_xrt.txt └── run.sh /doc/runtime.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xilinx/Xilinx_Base_Runtime/HEAD/doc/runtime.png -------------------------------------------------------------------------------- /doc/docker_images.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xilinx/Xilinx_Base_Runtime/HEAD/doc/docker_images.png -------------------------------------------------------------------------------- /doc/install_xrt_shell.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Xilinx/Xilinx_Base_Runtime/HEAD/doc/install_xrt_shell.png -------------------------------------------------------------------------------- /Dockerfiles/2020.1/centos/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM centos:7 2 | 3 | #Install dependencies 4 | RUN yum install -y epel-release wget; 5 | 6 | #Dowload XRT installation packages from Xilinx lounge page 7 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202010.2.6.655_7.4.1708-x86_64-xrt.rpm > /root/xrt_202010.2.6.655_7.4.1708-x86_64-xrt.rpm 8 | 9 | #Install XRT 10 | RUN yum install -y /root/xrt_202010.2.6.655_7.4.1708-x86_64-xrt.rpm 11 | 12 | #Copy notice and disclaimer 13 | ADD Xilinx_notice_and_disclaimer.txt /Xilinx_notice_and_disclaimer.txt -------------------------------------------------------------------------------- /Dockerfiles/2020.1/ubuntu-16.04/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | 3 | #Install dependencies 4 | RUN apt-get update; apt-get install -y wget 5 | 6 | #Dowload XRT installation packages from Xilinx lounge page 7 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202010.2.6.655_16.04-amd64-xrt.deb > /root/xrt_202010.2.6.655_16.04-amd64-xrt.deb 8 | 9 | #Install XRT 10 | RUN apt-get update; apt-get install -y /root/xrt_202010.2.6.655_16.04-amd64-xrt.deb 11 | 12 | #Copy notice and disclaimer 13 | ADD Xilinx_notice_and_disclaimer.txt /Xilinx_notice_and_disclaimer.txt -------------------------------------------------------------------------------- /Dockerfiles/2020.1/ubuntu-18.04/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:18.04 2 | 3 | #Install dependencies 4 | RUN apt-get update; apt-get install -y wget 5 | 6 | #Dowload XRT installation packages from Xilinx lounge page 7 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202010.2.6.655_18.04-amd64-xrt.deb > /root/xrt_202010.2.6.655_18.04-amd64-xrt.deb 8 | 9 | #Install XRT 10 | RUN apt-get update; apt-get install -y /root/xrt_202010.2.6.655_18.04-amd64-xrt.deb 11 | 12 | #Copy notice and disclaimer 13 | ADD Xilinx_notice_and_disclaimer.txt /Xilinx_notice_and_disclaimer.txt -------------------------------------------------------------------------------- /utilities/xilinx_azure_docker_setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Script to setup docker environment for Xilinx docker app 3 | 4 | # Make sure this script is sourced 5 | script=${BASH_SOURCE[0]} 6 | if [ $script == $0 ]; then 7 | echo "ERROR: You must source this script" 8 | exit 2 9 | fi 10 | 11 | source /opt/xilinx/xrt/setup.sh 12 | 13 | DEVICES="" 14 | for usrf in /dev/dri/renderD* 15 | do 16 | DEVICES="$DEVICES --device=$usrf:$usrf" 17 | done 18 | 19 | export XILINX_AZ_DOCKER_DEVICES=$DEVICES 20 | 21 | echo "XILINX_AZ_DOCKER_DEVICES : $XILINX_AZ_DOCKER_DEVICES" 22 | 23 | -------------------------------------------------------------------------------- /utilities/xilinx_docker_setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Script to setup docker environment for Xilinx docker app 3 | 4 | # Make sure this script is sourced 5 | script=${BASH_SOURCE[0]} 6 | if [ $script == $0 ]; then 7 | echo "ERROR: You must source this script" 8 | exit 2 9 | fi 10 | 11 | source /opt/xilinx/xrt/setup.sh 12 | 13 | DEVICES="" 14 | for xclf in /dev/xclmgmt* 15 | do 16 | DEVICES="$DEVICES --device=$xclf:$xclf" 17 | done 18 | for usrf in /dev/dri/renderD* 19 | do 20 | DEVICES="$DEVICES --device=$usrf:$usrf" 21 | done 22 | 23 | export XILINX_DOCKER_DEVICES=$DEVICES 24 | 25 | echo "XILINX_DOCKER_DEVICES : $XILINX_DOCKER_DEVICES" -------------------------------------------------------------------------------- /Dockerfiles/2018.3/ubuntu-16.04/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | 3 | #Install dependencies 4 | RUN apt-get update; apt-get install -y ocl-icd-opencl-dev libboost-dev libboost-filesystem-dev uuid-dev dkms libprotoc-dev protobuf-compiler libncurses5-dev lsb-release libxml2-dev libyaml-dev wget 5 | 6 | #Dowload XRT installation packages from Xilinx lounge page 7 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_201830.2.1.1794_16.04-xrt.deb > /root/xrt_201830.2.1.1794_16.04-xrt.deb 8 | 9 | #Install XRT 10 | RUN apt-get update; apt-get install -y /root/xrt_201830.2.1.1794_16.04-xrt.deb 11 | 12 | #Copy notice and disclaimer 13 | ADD Xilinx_notice_and_disclaimer.txt /Xilinx_notice_and_disclaimer.txt -------------------------------------------------------------------------------- /Dockerfiles/2019.1/ubuntu-16.04/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | 3 | #Install dependencies 4 | RUN apt-get update; apt-get install -y ocl-icd-opencl-dev libboost-dev libboost-filesystem-dev uuid-dev dkms libprotoc-dev protobuf-compiler libncurses5-dev lsb-release libxml2-dev libyaml-dev wget 5 | 6 | #Dowload XRT installation packages from Xilinx lounge page 7 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_201910.2.2.2250_16.04-xrt.deb > /root/xrt_201910.2.2.2250_16.04-xrt.deb 8 | 9 | #Install XRT 10 | RUN apt-get update; apt-get install -y /root/xrt_201910.2.2.2250_16.04-xrt.deb 11 | 12 | #Copy notice and disclaimer 13 | ADD Xilinx_notice_and_disclaimer.txt /Xilinx_notice_and_disclaimer.txt -------------------------------------------------------------------------------- /Dockerfiles/2019.1/ubuntu-18.04/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:18.04 2 | 3 | #Install dependencies 4 | RUN apt-get update; apt-get install -y ocl-icd-opencl-dev libboost-dev libboost-filesystem-dev uuid-dev dkms libprotoc-dev protobuf-compiler libncurses5-dev lsb-release libxml2-dev libyaml-dev wget 5 | 6 | #Dowload XRT installation packages from Xilinx lounge page 7 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_201910.2.2.2250_18.04-xrt.deb > /root/xrt_201910.2.2.2250_18.04-xrt.deb 8 | 9 | #Install XRT 10 | RUN apt-get update; apt-get install -y /root/xrt_201910.2.2.2250_18.04-xrt.deb 11 | 12 | #Copy notice and disclaimer 13 | ADD Xilinx_notice_and_disclaimer.txt /Xilinx_notice_and_disclaimer.txt -------------------------------------------------------------------------------- /Dockerfiles/2019.2/ubuntu-16.04/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | 3 | #Install dependencies 4 | RUN apt-get update; apt-get install -y ocl-icd-opencl-dev libboost-dev libboost-filesystem-dev uuid-dev dkms libprotoc-dev protobuf-compiler libncurses5-dev lsb-release libxml2-dev libyaml-dev wget 5 | 6 | #Dowload XRT installation packages from Xilinx lounge page 7 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_201920.2.3.1301_16.04-xrt.deb > /root/xrt_201920.2.3.1301_16.04-xrt.deb 8 | 9 | #Install XRT 10 | RUN apt-get update; apt-get install -y /root/xrt_201920.2.3.1301_16.04-xrt.deb 11 | 12 | #Copy notice and disclaimer 13 | ADD Xilinx_notice_and_disclaimer.txt /Xilinx_notice_and_disclaimer.txt -------------------------------------------------------------------------------- /Dockerfiles/2019.2/ubuntu-18.04/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:18.04 2 | 3 | #Install dependencies 4 | RUN apt-get update; apt-get install -y ocl-icd-opencl-dev libboost-dev libboost-filesystem-dev uuid-dev dkms libprotoc-dev protobuf-compiler libncurses5-dev lsb-release libxml2-dev libyaml-dev wget 5 | 6 | #Dowload XRT installation packages from Xilinx lounge page 7 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_201920.2.3.1301_18.04-xrt.deb > /root/xrt_201920.2.3.1301_18.04-xrt.deb 8 | 9 | #Install XRT 10 | RUN apt-get update; apt-get install -y /root/xrt_201920.2.3.1301_18.04-xrt.deb 11 | 12 | #Copy notice and disclaimer 13 | ADD Xilinx_notice_and_disclaimer.txt /Xilinx_notice_and_disclaimer.txt -------------------------------------------------------------------------------- /Dockerfiles/2018.3/ubuntu-18.04/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:18.04 2 | 3 | #Install dependencies 4 | RUN apt-get update; apt-get install -y ocl-icd-opencl-dev libboost-dev libboost-filesystem-dev uuid-dev dkms libprotoc-dev protobuf-compiler libncurses5-dev lsb-release libxml2-dev libyaml-dev wget 5 | 6 | #Dowload XRT installation packages from Xilinx lounge page 7 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_201830.2.1.1794_18.04-xrt.deb > /root/xrt_201830.2.1.1794_18.04-xrt.deb 8 | 9 | RUN #Install XRT 10 | RUN apt-get update; apt-get install -y /root/xrt_201830.2.1.1794_18.04-xrt.deb 11 | 12 | #Copy notice and disclaimer 13 | ADD Xilinx_notice_and_disclaimer.txt /Xilinx_notice_and_disclaimer.txt -------------------------------------------------------------------------------- /Dockerfiles/2018.3/centos/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM centos:7 2 | 3 | #Install dependencies 4 | RUN yum install -y epel-release; yum install -y boost-devel boost-filesystem dkms libboost_filesystem-mt.so.1.53.0 libboost_filesystem.so.1.53.0 libboost_system-mt.so.1.53.0 libboost_system.so.1.53.0 libprotobuf.so.8 libuuid-devel libxml2-devel libyaml-0.so.2 libyaml-devel ncurses-devel ocl-icd-devel protobuf-compiler protobuf-devel redhat-lsb-core gcc wget libyaml-0.1.4-11.el7_0.x86_64 5 | 6 | #Dowload XRT installation packages from Xilinx lounge page 7 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_201830.2.1.1794_7.4.1708-xrt.rpm > /root/xrt_201830.2.1.1794_7.4.1708-xrt.rpm 8 | 9 | #Install XRT 10 | RUN rpm -i /root/xrt_201830.2.1.1794_7.4.1708-xrt.rpm 11 | 12 | #Copy notice and disclaimer 13 | ADD Xilinx_notice_and_disclaimer.txt /Xilinx_notice_and_disclaimer.txt -------------------------------------------------------------------------------- /Dockerfiles/2019.1/centos/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM centos:7 2 | 3 | #Install dependencies 4 | RUN yum install -y epel-release; yum install -y boost-devel boost-filesystem dkms libboost_filesystem-mt.so.1.53.0 libboost_filesystem.so.1.53.0 libboost_system-mt.so.1.53.0 libboost_system.so.1.53.0 libprotobuf.so.8 libuuid-devel libxml2-devel libyaml-0.so.2 libyaml-devel ncurses-devel ocl-icd-devel protobuf-compiler protobuf-devel redhat-lsb-core gcc wget libyaml-0.1.4-11.el7_0.x86_64 5 | 6 | #Dowload XRT installation packages from Xilinx lounge page 7 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_201910.2.2.2250_7.4.1708-xrt.rpm > /root/xrt_201910.2.2.2250_7.4.1708-xrt.rpm 8 | 9 | #Install XRT 10 | RUN rpm -i /root/xrt_201910.2.2.2250_7.4.1708-xrt.rpm 11 | 12 | #Copy notice and disclaimer 13 | ADD Xilinx_notice_and_disclaimer.txt /Xilinx_notice_and_disclaimer.txt -------------------------------------------------------------------------------- /Dockerfiles/2019.2/centos/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM centos:7 2 | 3 | #Install dependencies 4 | RUN yum install -y epel-release; yum install -y boost-devel boost-filesystem dkms libboost_filesystem-mt.so.1.53.0 libboost_filesystem.so.1.53.0 libboost_system-mt.so.1.53.0 libboost_system.so.1.53.0 libprotobuf.so.8 libuuid-devel libxml2-devel libyaml-0.1.4-11.el7_0.x86_64 libyaml-devel ncurses-devel ocl-icd-devel openssl-devel protobuf-compiler protobuf-devel python-pip redhat-lsb-core libxml-2.0 yaml-0.1 wget 5 | 6 | #Dowload XRT installation packages from Xilinx lounge page 7 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_201920.2.3.1301_7.4.1708-xrt.rpm > /root/xrt_201920.2.3.1301_7.4.1708-xrt.rpm 8 | 9 | #Install XRT 10 | RUN rpm -i /root/xrt_201920.2.3.1301_7.4.1708-xrt.rpm 11 | 12 | #Copy notice and disclaimer 13 | ADD Xilinx_notice_and_disclaimer.txt /Xilinx_notice_and_disclaimer.txt -------------------------------------------------------------------------------- /utilities/xilinx_aws_docker_setup.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # Script to setup docker environment for Xilinx AWS docker app 3 | 4 | export LANG=en_US.UTF-8 && export LANGUAGE=en_US.UTF-8 && export LC_COLLATE=C && export LC_CTYPE=en_US.UTF-8 5 | 6 | if [ ! "$BASH_VERSION" ] ; then 7 | echo "Please do not use sh to run this script ($0), just execute it directly" 1>&2 8 | exit 1 9 | fi 10 | 11 | # Make sure this script is sourced 12 | script=${BASH_SOURCE[0]} 13 | if [ $script == $0 ]; then 14 | echo "ERROR: You must source this script" 15 | exit 2 16 | fi 17 | 18 | source /opt/xilinx/xrt/setup.sh 19 | 20 | DEVICES="" 21 | for usrf in /dev/dri/renderD* 22 | do 23 | DEVICES="$DEVICES --device=$usrf:$usrf" 24 | done 25 | 26 | DEVICES="$DEVICES --mount type=bind,source=/sys/bus/pci/devices/0000:00:1d.0,target=/sys/bus/pci/devices/0000:00:1d.0" 27 | DEVICES="$DEVICES --mount type=bind,source=/sys/bus/pci/devices/0000:00:1e.0,target=/sys/bus/pci/devices/0000:00:1e.0" 28 | 29 | 30 | export XILINX_AWS_DOCKER_DEVICES=$DEVICES 31 | 32 | echo "XILINX_AWS_DOCKER_DEVICES : $XILINX_AWS_DOCKER_DEVICES" 33 | 34 | sudo systemctl start mpd || exit 1 -------------------------------------------------------------------------------- /Dockerfiles/2022.2_noshell/ubuntu-22.04/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:22.04 2 | ARG PACKAGE_PATH=/tmp/xilinx_packages 3 | RUN apt-get update; apt-get install -y wget; mkdir -p ${PACKAGE_PATH}; mkdir -p /opt/xilinx/shell 4 | 5 | # Download XRT pacakges 6 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202220.2.14.354_22.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202220.2.14.354_22.04-amd64-xrt.deb; \ 7 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrm_202220.1.5.212_22.04-x86_64.deb > ${PACKAGE_PATH}/xrm_202220.1.5.212_22.04-x86_64.deb; 8 | 9 | # Install XRT and modify the Path 10 | RUN XRT_VERSION="202220.2.14.354"; \ 11 | apt-get update; \ 12 | mkdir /opt/xilinx/xrt_versions; \ 13 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_22.04-amd64-xrt.deb; \ 14 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 15 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 16 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 17 | ln -s /opt/xilinx/xrt_versions/xrt_${XRT_VERSION} /opt/xilinx/xrt 18 | 19 | # Download and install XRM package 20 | RUN XRM_VERSION="202220.1.5.212"; \ 21 | apt-get install -y ${PACKAGE_PATH}/xrm_${XRM_VERSION}_22.04-x86_64.deb 22 | 23 | # Enalble Systemctl 24 | RUN wget -cO - https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl3.py > /usr/local/share/systemctl3.py; \ 25 | echo "alias systemctl='python3 /usr/local/share/systemctl3.py'" >> /root/.bashrc; \ 26 | ln -s /usr/local/share/docker-systemctl-replacement/files/docker/systemctl3.py /usr/local/bin/systemctl; \ 27 | export PATH=/usr/local/bin/:$PATH 28 | 29 | COPY auto_setup.sh /opt/xilinx/auto_setup.sh 30 | COPY .bashrc /root/.bashrc 31 | -------------------------------------------------------------------------------- /conf/spec_xrt.txt: -------------------------------------------------------------------------------- 1 | 2019.1_ubuntu-16.04:XRT_PACKAGE=xrt_201910.2.2.2250_16.04-xrt.deb;XRT_VERSION=2.2.2250; 2 | 2019.1_ubuntu-18.04:XRT_PACKAGE=xrt_201910.2.2.2250_18.04-xrt.deb;XRT_VERSION=2.2.2250; 3 | 2019.1_centos-7:XRT_PACKAGE=xrt_201910.2.2.2250_7.4.1708-xrt.rpm;XRT_VERSION=2.2.2250; 4 | 2019.2_ubuntu-16.04:XRT_PACKAGE=xrt_201920.2.5.309_16.04-amd64-xrt.deb;XRT_VERSION=2.5.309; 5 | 2019.2_ubuntu-18.04:XRT_PACKAGE=xrt_201920.2.5.309_18.04-amd64-xrt.deb;XRT_VERSION=2.5.309; 6 | 2019.2_centos-7:XRT_PACKAGE=xrt_201920.2.5.309_7.4.1708-x86_64-xrt.rpm;XRT_VERSION=2.5.309; 7 | 2020.1_ubuntu-16.04:XRT_PACKAGE=xrt_202010.2.6.655_16.04-amd64-xrt.deb;XRT_VERSION=2.6.655; 8 | 2020.1_ubuntu-18.04:XRT_PACKAGE=xrt_202010.2.6.655_18.04-amd64-xrt.deb;XRT_VERSION=2.6.655; 9 | 2020.1_centos-7:XRT_PACKAGE=xrt_202010.2.6.655_7.4.1708-x86_64-xrt.rpm;XRT_VERSION=2.6.655; 10 | 2020.2_ubuntu-16.04:XRT_PACKAGE=xrt_202020.2.8.743_16.04-amd64-xrt.deb;XRT_VERSION=2.8.743; 11 | 2020.2_ubuntu-18.04:XRT_PACKAGE=xrt_202020.2.8.743_18.04-amd64-xrt.deb;XRT_VERSION=2.8.743; 12 | 2020.2_centos-7:XRT_PACKAGE=xrt_202020.2.8.743_7.4.1708-x86_64-xrt.rpm;XRT_VERSION=2.8.743; 13 | 2021.1_ubuntu-16.04:XRT_PACKAGE=xrt_202110.2.11.634_16.04-amd64-xrt.deb;XRT_VERSION=2.11.634; 14 | 2021.1_ubuntu-18.04:XRT_PACKAGE=xrt_202110.2.11.634_18.04-amd64-xrt.deb;XRT_VERSION=2.11.634; 15 | 2021.1_ubuntu-20.04:XRT_PACKAGE=xrt_202110.2.11.634_20.04-amd64-xrt.deb;XRT_VERSION=2.11.634; 16 | 2021.1_centos-7:XRT_PACKAGE=xrt_202110.2.11.634_7.6.1810-x86_64-xrt.rpm;XRT_VERSION=2.11.634; 17 | 2021.2_ubuntu-18.04:XRT_PACKAGE=xrt_202120.2.12.427_18.04-amd64-xrt.deb;XRT_VERSION=2.12.427; 18 | 2021.2_ubuntu-20.04:XRT_PACKAGE=xrt_202120.2.12.427_20.04-amd64-xrt.deb;XRT_VERSION=2.12.427; 19 | 2021.2_centos-7:XRT_PACKAGE=xrt_202120.2.12.427_7.8.2003-x86_64-xrt.rpm;XRT_VERSION=2.12.427; 20 | 2022.1_ubuntu-18.04:XRT_PACKAGE=xrt_202210.2.13.466_18.04-amd64-xrt.deb;XRT_VERSION=2.13.466; 21 | 2022.1_ubuntu-20.04:XRT_PACKAGE=xrt_202210.2.13.466_20.04-amd64-xrt.deb;XRT_VERSION=2.13.466; 22 | 2022.1_centos-7:XRT_PACKAGE=xrt_202210.2.13.466_7.8.2003-x86_64-xrt.rpm;XRT_VERSION=2.13.466; 23 | -------------------------------------------------------------------------------- /Dockerfiles/2023.1_noshell/ubuntu-22.04/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:22.04 2 | ARG PACKAGE_PATH=/tmp/xilinx_packages 3 | RUN apt-get update; apt-get install -y wget; mkdir -p ${PACKAGE_PATH}; mkdir -p /opt/xilinx/shell 4 | 5 | # Download XRT pacakges 6 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202220.2.14.354_22.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202220.2.14.354_22.04-amd64-xrt.deb; \ 7 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202310.2.15.225_22.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202310.2.15.225_22.04-amd64-xrt.deb; \ 8 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrm_202310.1.6.50044_ubuntu22.04-x86_64.deb > ${PACKAGE_PATH}/xrm_202310.1.6.50044_ubuntu22.04-x86_64.deb; 9 | 10 | # Install XRT and modify the Path 11 | RUN XRT_VERSION="202220.2.14.354"; \ 12 | apt-get update; \ 13 | mkdir /opt/xilinx/xrt_versions; \ 14 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_22.04-amd64-xrt.deb; \ 15 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 16 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 17 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 18 | ln -s /opt/xilinx/xrt_versions/xrt_${XRT_VERSION} /opt/xilinx/xrt 19 | 20 | # Download and install XRM package 21 | RUN XRM_VERSION="202310.1.6.50044"; \ 22 | apt-get install -y ${PACKAGE_PATH}/xrm_${XRM_VERSION}_ubuntu22.04-x86_64.deb 23 | 24 | # Enalble Systemctl 25 | RUN wget -cO - https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl3.py > /usr/local/share/systemctl3.py; \ 26 | echo "alias systemctl='python3 /usr/local/share/systemctl3.py'" >> /root/.bashrc; \ 27 | ln -s /usr/local/share/docker-systemctl-replacement/files/docker/systemctl3.py /usr/local/bin/systemctl; \ 28 | export PATH=/usr/local/bin/:$PATH 29 | 30 | COPY auto_setup.sh /opt/xilinx/auto_setup.sh 31 | COPY .bashrc /root/.bashrc 32 | -------------------------------------------------------------------------------- /Dockerfiles/2020.2/centos-8/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM centos:8 2 | ARG PACKAGE_PATH=/root/xilinx_packages 3 | 4 | RUN yum upgrade; yum install -y wget; mkdir -p ${PACKAGE_PATH} 5 | RUN yum install dnf-plugins-core 6 | RUN yum config-manager --set-enabled PowerTools 7 | RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm 8 | RUN yum config-manager --set-enabled AppStream 9 | 10 | # Download XRT pacakges 11 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202010.2.7.766_8.1.1911-x86_64-xrt.rpm > ${PACKAGE_PATH}/xrt_202010.2.7.766_8.1.1911-x86_64-xrt.rpm; \ 12 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202020.2.9.317_8.1.1911-x86_64-xrt.rpm > ${PACKAGE_PATH}/xrt_202020.2.9.317_8.1.1911-x86_64-xrt.rpm; 13 | 14 | # Install XRT and modify the Path 15 | RUN XRT_VERSION="202010.2.7.766"; \ 16 | yum install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_8.1.1911-x86_64-xrt.rpm; \ 17 | mv /opt/xilinx/xrt /opt/xilinx/xrt_${XRT_VERSION}; \ 18 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.sh; \ 19 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.csh; 20 | 21 | RUN XRT_VERSION="202020.2.9.317"; \ 22 | yum install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_8.1.1911-x86_64-xrt.rpm; \ 23 | mv /opt/xilinx/xrt /opt/xilinx/xrt_${XRT_VERSION}; \ 24 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.sh; \ 25 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.csh; \ 26 | ln -s /opt/xilinx/xrt_${XRT_VERSION} /opt/xilinx/xrt 27 | 28 | # Download and install XRM package 29 | # NOT BUILD FOR CENTOS 8.X YET 30 | 31 | # Enalble Systemctl 32 | RUN wget -cO - https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl3.py > /usr/local/share/systemctl3.py; echo "alias systemctl='python3 /usr/local/share/systemctl3.py'" >> /root/.bashrc 33 | 34 | #Copy notice and disclaimer 35 | ADD Xilinx_notice_and_disclaimer.txt /Xilinx_notice_and_disclaimer.txt 36 | -------------------------------------------------------------------------------- /doc/notice_disclaimer.txt: -------------------------------------------------------------------------------- 1 | NOTICE: This software is made available to you in the form of a Docker image (the "Image"). By using this Image, you agree on behalf of yourself and your employer (if applicable) to be bound by this information and the license agreements applicable to the software distributed inside this Image and (if applicable) the software that is not distributed inside this Image but is needed to run the Image and which is downloaded from the internet upon execution of the Docker build utility script made available to you (the "Script"). Should you elect to execute the Script by entering the necessary commands, you acknowledge that various software will be downloaded, either from the Image or from the internet, and installed in the Image, and you agree that you are solely responsible for reviewing and abiding by the terms of the license agreements governing such software downloaded by the Docker executable and installed into the Image. The software license agreements are available for your review either in the "LICENSE" file at the Image download site, or in the source code of the software distributed in the Image, or in the case of either (i) operating system software, at the URL provided to you for the main community open source project web page, and (ii) software downloaded from the internet, at the URL provided to you for the original web page where such software is made available for download. If you do not agree, then you should not "click" accept the notice nor enter the Script command nor otherwise access, download, install or use the Image. 2 | 3 | DISCLAIMER: THIS IMAGE IS MADE AVAILABLE "AS-IS" AND XILINX DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE. Xilinx shall not be liable (whether in contract or tort, including negligence, or under any other theory of liability) for any loss or damage of any kind or nature related to, arising under, or in connection with, this Image, including for any direct, indirect, special, incidental, or consequential loss or damage (including loss of data, profits, goodwill, or any type of loss or damage suffered as a result of any action brought by a third party) even if such damage or loss was reasonably foreseeable or Xilinx had been advised of the possibility of the same. 4 | -------------------------------------------------------------------------------- /Dockerfiles/2018.3/centos/Xilinx_notice_and_disclaimer.txt: -------------------------------------------------------------------------------- 1 | NOTICE: This software is made available to you in the form of a Docker image (the “Image”). By using this Image, you agree on behalf of yourself and your employer (if applicable) to be bound by this information and the license agreements applicable to the software distributed inside this Image and (if applicable) the software that is not distributed inside this Image but is needed to run the Image and which is downloaded from the internet upon execution of the Docker build utility script made available to you (the “Script”). Should you elect to execute the Script by entering the necessary commands, you acknowledge that various software will be downloaded, either from the Image or from the internet, and installed in the Image, and you agree that you are solely responsible for reviewing and abiding by the terms of the license agreements governing such software downloaded by the Docker executable and installed into the Image. The software license agreements are available for your review either in the “LICENSE” file at the Image download site, or in the source code of the software distributed in the Image, or in the case of either (i) operating system software, at the URL provided to you for the main community open source project web page, and (ii) software downloaded from the internet, at the URL provided to you for the original web page where such software is made available for download. If you do not agree, then you should not “click” accept the notice nor enter the Script command nor otherwise access, download, install or use the Image. 2 | 3 | DISCLAIMER: THIS IMAGE IS MADE AVAILABLE “AS-IS” AND XILINX DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE. Xilinx shall not be liable (whether in contract or tort, including negligence, or under any other theory of liability) for any loss or damage of any kind or nature related to, arising under, or in connection with, this Image, including for any direct, indirect, special, incidental, or consequential loss or damage (including loss of data, profits, goodwill, or any type of loss or damage suffered as a result of any action brought by a third party) even if such damage or loss was reasonably foreseeable or Xilinx had been advised of the possibility of the same. -------------------------------------------------------------------------------- /Dockerfiles/2019.1/centos/Xilinx_notice_and_disclaimer.txt: -------------------------------------------------------------------------------- 1 | NOTICE: This software is made available to you in the form of a Docker image (the “Image”). By using this Image, you agree on behalf of yourself and your employer (if applicable) to be bound by this information and the license agreements applicable to the software distributed inside this Image and (if applicable) the software that is not distributed inside this Image but is needed to run the Image and which is downloaded from the internet upon execution of the Docker build utility script made available to you (the “Script”). Should you elect to execute the Script by entering the necessary commands, you acknowledge that various software will be downloaded, either from the Image or from the internet, and installed in the Image, and you agree that you are solely responsible for reviewing and abiding by the terms of the license agreements governing such software downloaded by the Docker executable and installed into the Image. The software license agreements are available for your review either in the “LICENSE” file at the Image download site, or in the source code of the software distributed in the Image, or in the case of either (i) operating system software, at the URL provided to you for the main community open source project web page, and (ii) software downloaded from the internet, at the URL provided to you for the original web page where such software is made available for download. If you do not agree, then you should not “click” accept the notice nor enter the Script command nor otherwise access, download, install or use the Image. 2 | 3 | DISCLAIMER: THIS IMAGE IS MADE AVAILABLE “AS-IS” AND XILINX DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE. Xilinx shall not be liable (whether in contract or tort, including negligence, or under any other theory of liability) for any loss or damage of any kind or nature related to, arising under, or in connection with, this Image, including for any direct, indirect, special, incidental, or consequential loss or damage (including loss of data, profits, goodwill, or any type of loss or damage suffered as a result of any action brought by a third party) even if such damage or loss was reasonably foreseeable or Xilinx had been advised of the possibility of the same. -------------------------------------------------------------------------------- /Dockerfiles/2019.2/centos/Xilinx_notice_and_disclaimer.txt: -------------------------------------------------------------------------------- 1 | NOTICE: This software is made available to you in the form of a Docker image (the “Image”). By using this Image, you agree on behalf of yourself and your employer (if applicable) to be bound by this information and the license agreements applicable to the software distributed inside this Image and (if applicable) the software that is not distributed inside this Image but is needed to run the Image and which is downloaded from the internet upon execution of the Docker build utility script made available to you (the “Script”). Should you elect to execute the Script by entering the necessary commands, you acknowledge that various software will be downloaded, either from the Image or from the internet, and installed in the Image, and you agree that you are solely responsible for reviewing and abiding by the terms of the license agreements governing such software downloaded by the Docker executable and installed into the Image. The software license agreements are available for your review either in the “LICENSE” file at the Image download site, or in the source code of the software distributed in the Image, or in the case of either (i) operating system software, at the URL provided to you for the main community open source project web page, and (ii) software downloaded from the internet, at the URL provided to you for the original web page where such software is made available for download. If you do not agree, then you should not “click” accept the notice nor enter the Script command nor otherwise access, download, install or use the Image. 2 | 3 | DISCLAIMER: THIS IMAGE IS MADE AVAILABLE “AS-IS” AND XILINX DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE. Xilinx shall not be liable (whether in contract or tort, including negligence, or under any other theory of liability) for any loss or damage of any kind or nature related to, arising under, or in connection with, this Image, including for any direct, indirect, special, incidental, or consequential loss or damage (including loss of data, profits, goodwill, or any type of loss or damage suffered as a result of any action brought by a third party) even if such damage or loss was reasonably foreseeable or Xilinx had been advised of the possibility of the same. -------------------------------------------------------------------------------- /Dockerfiles/2020.1/centos/Xilinx_notice_and_disclaimer.txt: -------------------------------------------------------------------------------- 1 | NOTICE: This software is made available to you in the form of a Docker image (the “Image”). By using this Image, you agree on behalf of yourself and your employer (if applicable) to be bound by this information and the license agreements applicable to the software distributed inside this Image and (if applicable) the software that is not distributed inside this Image but is needed to run the Image and which is downloaded from the internet upon execution of the Docker build utility script made available to you (the “Script”). Should you elect to execute the Script by entering the necessary commands, you acknowledge that various software will be downloaded, either from the Image or from the internet, and installed in the Image, and you agree that you are solely responsible for reviewing and abiding by the terms of the license agreements governing such software downloaded by the Docker executable and installed into the Image. The software license agreements are available for your review either in the “LICENSE” file at the Image download site, or in the source code of the software distributed in the Image, or in the case of either (i) operating system software, at the URL provided to you for the main community open source project web page, and (ii) software downloaded from the internet, at the URL provided to you for the original web page where such software is made available for download. If you do not agree, then you should not “click” accept the notice nor enter the Script command nor otherwise access, download, install or use the Image. 2 | 3 | DISCLAIMER: THIS IMAGE IS MADE AVAILABLE “AS-IS” AND XILINX DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE. Xilinx shall not be liable (whether in contract or tort, including negligence, or under any other theory of liability) for any loss or damage of any kind or nature related to, arising under, or in connection with, this Image, including for any direct, indirect, special, incidental, or consequential loss or damage (including loss of data, profits, goodwill, or any type of loss or damage suffered as a result of any action brought by a third party) even if such damage or loss was reasonably foreseeable or Xilinx had been advised of the possibility of the same. -------------------------------------------------------------------------------- /Dockerfiles/2018.3/ubuntu-16.04/Xilinx_notice_and_disclaimer.txt: -------------------------------------------------------------------------------- 1 | NOTICE: This software is made available to you in the form of a Docker image (the “Image”). By using this Image, you agree on behalf of yourself and your employer (if applicable) to be bound by this information and the license agreements applicable to the software distributed inside this Image and (if applicable) the software that is not distributed inside this Image but is needed to run the Image and which is downloaded from the internet upon execution of the Docker build utility script made available to you (the “Script”). Should you elect to execute the Script by entering the necessary commands, you acknowledge that various software will be downloaded, either from the Image or from the internet, and installed in the Image, and you agree that you are solely responsible for reviewing and abiding by the terms of the license agreements governing such software downloaded by the Docker executable and installed into the Image. The software license agreements are available for your review either in the “LICENSE” file at the Image download site, or in the source code of the software distributed in the Image, or in the case of either (i) operating system software, at the URL provided to you for the main community open source project web page, and (ii) software downloaded from the internet, at the URL provided to you for the original web page where such software is made available for download. If you do not agree, then you should not “click” accept the notice nor enter the Script command nor otherwise access, download, install or use the Image. 2 | 3 | DISCLAIMER: THIS IMAGE IS MADE AVAILABLE “AS-IS” AND XILINX DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE. Xilinx shall not be liable (whether in contract or tort, including negligence, or under any other theory of liability) for any loss or damage of any kind or nature related to, arising under, or in connection with, this Image, including for any direct, indirect, special, incidental, or consequential loss or damage (including loss of data, profits, goodwill, or any type of loss or damage suffered as a result of any action brought by a third party) even if such damage or loss was reasonably foreseeable or Xilinx had been advised of the possibility of the same. -------------------------------------------------------------------------------- /Dockerfiles/2018.3/ubuntu-18.04/Xilinx_notice_and_disclaimer.txt: -------------------------------------------------------------------------------- 1 | NOTICE: This software is made available to you in the form of a Docker image (the “Image”). By using this Image, you agree on behalf of yourself and your employer (if applicable) to be bound by this information and the license agreements applicable to the software distributed inside this Image and (if applicable) the software that is not distributed inside this Image but is needed to run the Image and which is downloaded from the internet upon execution of the Docker build utility script made available to you (the “Script”). Should you elect to execute the Script by entering the necessary commands, you acknowledge that various software will be downloaded, either from the Image or from the internet, and installed in the Image, and you agree that you are solely responsible for reviewing and abiding by the terms of the license agreements governing such software downloaded by the Docker executable and installed into the Image. The software license agreements are available for your review either in the “LICENSE” file at the Image download site, or in the source code of the software distributed in the Image, or in the case of either (i) operating system software, at the URL provided to you for the main community open source project web page, and (ii) software downloaded from the internet, at the URL provided to you for the original web page where such software is made available for download. If you do not agree, then you should not “click” accept the notice nor enter the Script command nor otherwise access, download, install or use the Image. 2 | 3 | DISCLAIMER: THIS IMAGE IS MADE AVAILABLE “AS-IS” AND XILINX DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE. Xilinx shall not be liable (whether in contract or tort, including negligence, or under any other theory of liability) for any loss or damage of any kind or nature related to, arising under, or in connection with, this Image, including for any direct, indirect, special, incidental, or consequential loss or damage (including loss of data, profits, goodwill, or any type of loss or damage suffered as a result of any action brought by a third party) even if such damage or loss was reasonably foreseeable or Xilinx had been advised of the possibility of the same. -------------------------------------------------------------------------------- /Dockerfiles/2019.1/ubuntu-16.04/Xilinx_notice_and_disclaimer.txt: -------------------------------------------------------------------------------- 1 | NOTICE: This software is made available to you in the form of a Docker image (the “Image”). By using this Image, you agree on behalf of yourself and your employer (if applicable) to be bound by this information and the license agreements applicable to the software distributed inside this Image and (if applicable) the software that is not distributed inside this Image but is needed to run the Image and which is downloaded from the internet upon execution of the Docker build utility script made available to you (the “Script”). Should you elect to execute the Script by entering the necessary commands, you acknowledge that various software will be downloaded, either from the Image or from the internet, and installed in the Image, and you agree that you are solely responsible for reviewing and abiding by the terms of the license agreements governing such software downloaded by the Docker executable and installed into the Image. The software license agreements are available for your review either in the “LICENSE” file at the Image download site, or in the source code of the software distributed in the Image, or in the case of either (i) operating system software, at the URL provided to you for the main community open source project web page, and (ii) software downloaded from the internet, at the URL provided to you for the original web page where such software is made available for download. If you do not agree, then you should not “click” accept the notice nor enter the Script command nor otherwise access, download, install or use the Image. 2 | 3 | DISCLAIMER: THIS IMAGE IS MADE AVAILABLE “AS-IS” AND XILINX DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE. Xilinx shall not be liable (whether in contract or tort, including negligence, or under any other theory of liability) for any loss or damage of any kind or nature related to, arising under, or in connection with, this Image, including for any direct, indirect, special, incidental, or consequential loss or damage (including loss of data, profits, goodwill, or any type of loss or damage suffered as a result of any action brought by a third party) even if such damage or loss was reasonably foreseeable or Xilinx had been advised of the possibility of the same. -------------------------------------------------------------------------------- /Dockerfiles/2019.1/ubuntu-18.04/Xilinx_notice_and_disclaimer.txt: -------------------------------------------------------------------------------- 1 | NOTICE: This software is made available to you in the form of a Docker image (the “Image”). By using this Image, you agree on behalf of yourself and your employer (if applicable) to be bound by this information and the license agreements applicable to the software distributed inside this Image and (if applicable) the software that is not distributed inside this Image but is needed to run the Image and which is downloaded from the internet upon execution of the Docker build utility script made available to you (the “Script”). Should you elect to execute the Script by entering the necessary commands, you acknowledge that various software will be downloaded, either from the Image or from the internet, and installed in the Image, and you agree that you are solely responsible for reviewing and abiding by the terms of the license agreements governing such software downloaded by the Docker executable and installed into the Image. The software license agreements are available for your review either in the “LICENSE” file at the Image download site, or in the source code of the software distributed in the Image, or in the case of either (i) operating system software, at the URL provided to you for the main community open source project web page, and (ii) software downloaded from the internet, at the URL provided to you for the original web page where such software is made available for download. If you do not agree, then you should not “click” accept the notice nor enter the Script command nor otherwise access, download, install or use the Image. 2 | 3 | DISCLAIMER: THIS IMAGE IS MADE AVAILABLE “AS-IS” AND XILINX DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE. Xilinx shall not be liable (whether in contract or tort, including negligence, or under any other theory of liability) for any loss or damage of any kind or nature related to, arising under, or in connection with, this Image, including for any direct, indirect, special, incidental, or consequential loss or damage (including loss of data, profits, goodwill, or any type of loss or damage suffered as a result of any action brought by a third party) even if such damage or loss was reasonably foreseeable or Xilinx had been advised of the possibility of the same. -------------------------------------------------------------------------------- /Dockerfiles/2019.2/ubuntu-16.04/Xilinx_notice_and_disclaimer.txt: -------------------------------------------------------------------------------- 1 | NOTICE: This software is made available to you in the form of a Docker image (the “Image”). By using this Image, you agree on behalf of yourself and your employer (if applicable) to be bound by this information and the license agreements applicable to the software distributed inside this Image and (if applicable) the software that is not distributed inside this Image but is needed to run the Image and which is downloaded from the internet upon execution of the Docker build utility script made available to you (the “Script”). Should you elect to execute the Script by entering the necessary commands, you acknowledge that various software will be downloaded, either from the Image or from the internet, and installed in the Image, and you agree that you are solely responsible for reviewing and abiding by the terms of the license agreements governing such software downloaded by the Docker executable and installed into the Image. The software license agreements are available for your review either in the “LICENSE” file at the Image download site, or in the source code of the software distributed in the Image, or in the case of either (i) operating system software, at the URL provided to you for the main community open source project web page, and (ii) software downloaded from the internet, at the URL provided to you for the original web page where such software is made available for download. If you do not agree, then you should not “click” accept the notice nor enter the Script command nor otherwise access, download, install or use the Image. 2 | 3 | DISCLAIMER: THIS IMAGE IS MADE AVAILABLE “AS-IS” AND XILINX DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE. Xilinx shall not be liable (whether in contract or tort, including negligence, or under any other theory of liability) for any loss or damage of any kind or nature related to, arising under, or in connection with, this Image, including for any direct, indirect, special, incidental, or consequential loss or damage (including loss of data, profits, goodwill, or any type of loss or damage suffered as a result of any action brought by a third party) even if such damage or loss was reasonably foreseeable or Xilinx had been advised of the possibility of the same. -------------------------------------------------------------------------------- /Dockerfiles/2019.2/ubuntu-18.04/Xilinx_notice_and_disclaimer.txt: -------------------------------------------------------------------------------- 1 | NOTICE: This software is made available to you in the form of a Docker image (the “Image”). By using this Image, you agree on behalf of yourself and your employer (if applicable) to be bound by this information and the license agreements applicable to the software distributed inside this Image and (if applicable) the software that is not distributed inside this Image but is needed to run the Image and which is downloaded from the internet upon execution of the Docker build utility script made available to you (the “Script”). Should you elect to execute the Script by entering the necessary commands, you acknowledge that various software will be downloaded, either from the Image or from the internet, and installed in the Image, and you agree that you are solely responsible for reviewing and abiding by the terms of the license agreements governing such software downloaded by the Docker executable and installed into the Image. The software license agreements are available for your review either in the “LICENSE” file at the Image download site, or in the source code of the software distributed in the Image, or in the case of either (i) operating system software, at the URL provided to you for the main community open source project web page, and (ii) software downloaded from the internet, at the URL provided to you for the original web page where such software is made available for download. If you do not agree, then you should not “click” accept the notice nor enter the Script command nor otherwise access, download, install or use the Image. 2 | 3 | DISCLAIMER: THIS IMAGE IS MADE AVAILABLE “AS-IS” AND XILINX DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE. Xilinx shall not be liable (whether in contract or tort, including negligence, or under any other theory of liability) for any loss or damage of any kind or nature related to, arising under, or in connection with, this Image, including for any direct, indirect, special, incidental, or consequential loss or damage (including loss of data, profits, goodwill, or any type of loss or damage suffered as a result of any action brought by a third party) even if such damage or loss was reasonably foreseeable or Xilinx had been advised of the possibility of the same. -------------------------------------------------------------------------------- /Dockerfiles/2020.1/ubuntu-16.04/Xilinx_notice_and_disclaimer.txt: -------------------------------------------------------------------------------- 1 | NOTICE: This software is made available to you in the form of a Docker image (the “Image”). By using this Image, you agree on behalf of yourself and your employer (if applicable) to be bound by this information and the license agreements applicable to the software distributed inside this Image and (if applicable) the software that is not distributed inside this Image but is needed to run the Image and which is downloaded from the internet upon execution of the Docker build utility script made available to you (the “Script”). Should you elect to execute the Script by entering the necessary commands, you acknowledge that various software will be downloaded, either from the Image or from the internet, and installed in the Image, and you agree that you are solely responsible for reviewing and abiding by the terms of the license agreements governing such software downloaded by the Docker executable and installed into the Image. The software license agreements are available for your review either in the “LICENSE” file at the Image download site, or in the source code of the software distributed in the Image, or in the case of either (i) operating system software, at the URL provided to you for the main community open source project web page, and (ii) software downloaded from the internet, at the URL provided to you for the original web page where such software is made available for download. If you do not agree, then you should not “click” accept the notice nor enter the Script command nor otherwise access, download, install or use the Image. 2 | 3 | DISCLAIMER: THIS IMAGE IS MADE AVAILABLE “AS-IS” AND XILINX DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE. Xilinx shall not be liable (whether in contract or tort, including negligence, or under any other theory of liability) for any loss or damage of any kind or nature related to, arising under, or in connection with, this Image, including for any direct, indirect, special, incidental, or consequential loss or damage (including loss of data, profits, goodwill, or any type of loss or damage suffered as a result of any action brought by a third party) even if such damage or loss was reasonably foreseeable or Xilinx had been advised of the possibility of the same. -------------------------------------------------------------------------------- /Dockerfiles/2020.1/ubuntu-18.04/Xilinx_notice_and_disclaimer.txt: -------------------------------------------------------------------------------- 1 | NOTICE: This software is made available to you in the form of a Docker image (the “Image”). By using this Image, you agree on behalf of yourself and your employer (if applicable) to be bound by this information and the license agreements applicable to the software distributed inside this Image and (if applicable) the software that is not distributed inside this Image but is needed to run the Image and which is downloaded from the internet upon execution of the Docker build utility script made available to you (the “Script”). Should you elect to execute the Script by entering the necessary commands, you acknowledge that various software will be downloaded, either from the Image or from the internet, and installed in the Image, and you agree that you are solely responsible for reviewing and abiding by the terms of the license agreements governing such software downloaded by the Docker executable and installed into the Image. The software license agreements are available for your review either in the “LICENSE” file at the Image download site, or in the source code of the software distributed in the Image, or in the case of either (i) operating system software, at the URL provided to you for the main community open source project web page, and (ii) software downloaded from the internet, at the URL provided to you for the original web page where such software is made available for download. If you do not agree, then you should not “click” accept the notice nor enter the Script command nor otherwise access, download, install or use the Image. 2 | 3 | DISCLAIMER: THIS IMAGE IS MADE AVAILABLE “AS-IS” AND XILINX DISCLAIMS ALL WARRANTIES AND CONDITIONS, EXPRESS, IMPLIED, OR STATUTORY, INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, NON-INFRINGEMENT, OR FITNESS FOR ANY PARTICULAR PURPOSE. Xilinx shall not be liable (whether in contract or tort, including negligence, or under any other theory of liability) for any loss or damage of any kind or nature related to, arising under, or in connection with, this Image, including for any direct, indirect, special, incidental, or consequential loss or damage (including loss of data, profits, goodwill, or any type of loss or damage suffered as a result of any action brought by a third party) even if such damage or loss was reasonably foreseeable or Xilinx had been advised of the possibility of the same. -------------------------------------------------------------------------------- /utilities/docker_install.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # 3 | # (C) Copyright 2020, Xilinx, Inc. 4 | # 5 | #!/usr/bin/env bash 6 | 7 | if [[ $EUID -ne 0 ]]; then 8 | echo "This script must be run as root. " 9 | exit 1 10 | fi 11 | 12 | OSVERSION=`grep '^ID=' /etc/os-release | awk -F= '{print $2}' | tr -d '"'` 13 | 14 | if [[ "$OSVERSION" == "ubuntu" ]]; then 15 | DOCKER_INFO=`apt list --installed 2>/dev/null | grep docker-ce` 16 | elif [[ "$OSVERSION" == "centos" ]]; then 17 | DOCKER_INFO=`yum list installed 2>/dev/null | grep docker-ce` 18 | else 19 | echo "The script supports: Ubuntu 16.04, Ubuntu 18.04 and Centos 7. For other operating system, please install DockerCE manually following: https://docs.docker.com/engine/install/." 20 | exit 1 21 | fi 22 | 23 | if [ $? == 0 ] ; then 24 | echo "You have already installed docker." 25 | DOCKER_INFO=`docker info 2>/dev/null` 26 | if [ $? == 0 ] ; then 27 | DOCKER_VERSION=`docker info 2>/dev/null |grep "Server Version"| awk -F: '{print $2}'` 28 | echo "Docker Version:$DOCKER_VERSION" 29 | else 30 | docker info 31 | echo "Please run following command if docker daemon is not running:" 32 | echo " sudo systemctl start docker" 33 | fi 34 | else 35 | echo "Install docker on $OSVERSION..." 36 | if [[ "$OSVERSION" == "ubuntu" ]]; then 37 | apt-get -y update && apt-get install -y curl 38 | fi 39 | curl -fsSL https://get.docker.com | sh > /tmp/xxappstore_hostsetup_installdocker.log 2>&1 40 | if [[ $? != 0 ]]; then 41 | echo "[ERROR] Unable to install DockerCE using Docker automated script" 42 | echo "Please install DockerCE manually following this documentation:" 43 | if [[ "$OSVERSION" == "ubuntu" ]]; then 44 | echo ' > [UBUNTU] https://docs.docker.com/install/linux/docker-ce/ubuntu/' 45 | elif [[ "$OSVERSION" == "centos" ]]; then 46 | echo ' > [CENTOS] https://docs.docker.com/install/linux/docker-ce/centos/' 47 | fi 48 | exit 1 49 | fi 50 | echo "Configure docker" 51 | mkdir -p /etc/docker && echo '{"max-concurrent-downloads": 1}' | tee -a /etc/docker/daemon.json && systemctl restart docker && systemctl enable docker > /tmp/xxappstore_hostsetup_configuredocker.log 2>&1 52 | if [[ $? != 0 ]]; then 53 | echo "[ERROR] Docker Configuration. Check log file /tmp/xxappstore_hostsetup_configuredocker.log" 54 | exit 1 55 | fi 56 | echo "Verify that Docker Engine is installed correctly by running the hello-world image." 57 | echo "" 58 | echo " docker run hello-world" 59 | echo "" 60 | echo "If you would like to use Docker as a non-root user, you should now consider adding your user to the “docker” group with something like:" 61 | echo "" 62 | echo " usermod -aG docker your-user" 63 | echo "" 64 | echo "Install docker completed" 65 | fi -------------------------------------------------------------------------------- /Dockerfiles/2021.1/al2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM amazonlinux:2 2 | ARG PACKAGE_PATH=/tmp/xilinx_packages 3 | RUN yum update; yum install -y wget; mkdir -p ${PACKAGE_PATH}; mkdir -p /opt/xilinx/shell 4 | RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm 5 | RUN yum install -y tar 6 | 7 | # Download XRT Packages 8 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202110.2.11.634_2-x86_64-xrt.rpm > ${PACKAGE_PATH}/xrt_202110.2.11.634_2-x86_64-xrt.rpm; \ 9 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrm_202110.1.2.1539_2-x86_64.rpm > ${PACKAGE_PATH}/xrm_202110.1.2.1539_2-x86_64.rpm; 10 | 11 | # Download Shell Packages 12 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u50-gen3x16-xdma-201920_3-1.noarch.rpm.tar.gz > /opt/xilinx/shell/xilinx-u50-gen3x16-xdma-201920_3-1.noarch.rpm.tar.gz; \ 13 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u200-gen3x16-xdma-noarch_1-3209015.rpm_2.tar.gz > /opt/xilinx/shell/xilinx-u200-gen3x16-xdma-noarch_1-3209015.rpm_2.tar.gz; \ 14 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u250-gen3x16-xdma-platform-3.1-1.noarch.rpm.tar.gz > /opt/xilinx/shell/xilinx-u250-gen3x16-xdma-platform-3.1-1.noarch.rpm.tar.gz; \ 15 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u280-xdma-201920.3-3246211.x86_64.rpm > /opt/xilinx/shell/xilinx-u280-xdma-201920.3-3246211.x86_64.rpm; 16 | 17 | # Install XRT and modify the Path 18 | RUN XRT_VERSION="202110.2.11.634"; \ 19 | yum install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_2-x86_64-xrt.rpm; \ 20 | mkdir /opt/xilinx/xrt_versions; \ 21 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 22 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 23 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 24 | ln -s /opt/xilinx/xrt_versions/xrt_${XRT_VERSION} /opt/xilinx/xrt 25 | 26 | # Download and install XRM package 27 | RUN XRM_VERSION="202110.1.2.1539";\ 28 | yum install -y ${PACKAGE_PATH}/xrm_${XRM_VERSION}_2-x86_64.rpm 29 | 30 | # Enalble Systemctl 31 | RUN wget -cO - https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl3.py > /usr/local/share/systemctl3.py; 32 | RUN echo "alias systemctl='python3 /usr/local/share/systemctl3.py'" >> /root/.bashrc 33 | RUN ln -s /usr/local/share/docker-systemctl-replacement/files/docker/systemctl3.py /usr/local/bin/systemctl 34 | RUN export PATH=/usr/local/bin/:$PATH 35 | 36 | COPY auto_setup.sh /opt/xilinx/auto_setup.sh 37 | -------------------------------------------------------------------------------- /Dockerfiles/2022.2/ubuntu-22.04/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:22.04 2 | ARG PACKAGE_PATH=/tmp/xilinx_packages 3 | RUN apt-get update; apt-get install -y wget; mkdir -p ${PACKAGE_PATH}; mkdir -p /opt/xilinx/shell 4 | 5 | # Download XRT pacakges 6 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202220.2.14.354_22.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202220.2.14.354_22.04-amd64-xrt.deb; \ 7 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrm_202220.1.5.212_22.04-x86_64.deb > ${PACKAGE_PATH}/xrm_202220.1.5.212_22.04-x86_64.deb; 8 | 9 | # Download u200 XRT Shell Pacakges 10 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u200-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz > /opt/xilinx/shell/xilinx-u200-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 11 | # Download u250 XRT Shell Packages 12 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u250-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz > /opt/xilinx/shell/xilinx-u250-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 13 | # Download u50 XRT Shell Packages 14 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u50-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz > /opt/xilinx/shell/xilinx-u50-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 15 | # Download u55c XRT Shell Packages 16 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u55c-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz > /opt/xilinx/shell/xilinx-u55c-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; 17 | # Untar relevant shell packages 18 | RUN cd /opt/xilinx/shell; \ 19 | tar -ozxvf /opt/xilinx/shell/xilinx-u200-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 20 | tar -ozxvf /opt/xilinx/shell/xilinx-u250-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 21 | tar -ozxvf /opt/xilinx/shell/xilinx-u50-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 22 | tar -ozxvf /opt/xilinx/shell/xilinx-u55c-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 23 | rm /opt/xilinx/shell/*.tar.gz 24 | 25 | # Install XRT and modify the Path 26 | RUN XRT_VERSION="202220.2.14.354"; \ 27 | apt-get update; \ 28 | mkdir /opt/xilinx/xrt_versions; \ 29 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_22.04-amd64-xrt.deb; \ 30 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 31 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 32 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 33 | ln -s /opt/xilinx/xrt_versions/xrt_${XRT_VERSION} /opt/xilinx/xrt 34 | 35 | # Download and install XRM package 36 | RUN XRM_VERSION="202220.1.5.212"; \ 37 | apt-get install -y ${PACKAGE_PATH}/xrm_${XRM_VERSION}_22.04-x86_64.deb 38 | 39 | # Enalble Systemctl 40 | RUN wget -cO - https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl3.py > /usr/local/share/systemctl3.py; \ 41 | echo "alias systemctl='python3 /usr/local/share/systemctl3.py'" >> /root/.bashrc; \ 42 | ln -s /usr/local/share/docker-systemctl-replacement/files/docker/systemctl3.py /usr/local/bin/systemctl; \ 43 | export PATH=/usr/local/bin/:$PATH 44 | 45 | COPY auto_setup.sh /opt/xilinx/auto_setup.sh 46 | COPY .bashrc /root/.bashrc 47 | -------------------------------------------------------------------------------- /Dockerfiles/2021.2/al2/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM amazonlinux:2 2 | ARG PACKAGE_PATH=/tmp/xilinx_packages 3 | RUN yum update; yum install -y wget; mkdir -p ${PACKAGE_PATH}; mkdir -p /opt/xilinx/shell; \ 4 | yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm; \ 5 | yum install -y tar 6 | 7 | # Download XRT Packages 8 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202110.2.11.634_2-x86_64-xrt.rpm > ${PACKAGE_PATH}/xrt_202110.2.11.634_2-x86_64-xrt.rpm; \ 9 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202120.2.12.427_2-x86_64-xrt.rpm > ${PACKAGE_PATH}/xrt_202120.2.12.427_2-x86_64-xrt.rpm; \ 10 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrm_202120.1.3.29_2-x86_64.rpm > ${PACKAGE_PATH}/xrm_202120.1.3.29_2-x86_64.rpm; \ 11 | # Download Shell Packages 12 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u50-gen3x16-xdma-201920_3-1.noarch.rpm.tar.gz > /opt/xilinx/shell/xilinx-u50-gen3x16-xdma-201920_3-1.noarch.rpm.tar.gz; \ 13 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u200-gen3x16-xdma-noarch_1-3209015.rpm_2.tar.gz > /opt/xilinx/shell/xilinx-u200-gen3x16-xdma-noarch_1-3209015.rpm_2.tar.gz; \ 14 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u250-gen3x16-xdma-platform-3.1-1.noarch.rpm.tar.gz > /opt/xilinx/shell/xilinx-u250-gen3x16-xdma-platform-3.1-1.noarch.rpm.tar.gz; \ 15 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u280-xdma-201920.3-3246211.x86_64.rpm > /opt/xilinx/shell/xilinx-u280-xdma-201920.3-3246211.x86_64.rpm; 16 | 17 | # Install XRT and modify the Path 18 | RUN XRT_VERSION="202110.2.11.634"; \ 19 | yum install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_2-x86_64-xrt.rpm; \ 20 | mkdir /opt/xilinx/xrt_versions; \ 21 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 22 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 23 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 24 | # New XRT Version 25 | XRT_VERSION="202120.2.12.427"; \ 26 | yum install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_2-x86_64-xrt.rpm; \ 27 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 28 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 29 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 30 | ln -s /opt/xilinx/xrt_versions/xrt_${XRT_VERSION} /opt/xilinx/xrt; 31 | 32 | # Download and install XRM package 33 | RUN XRM_VERSION="202120.1.3.29";\ 34 | yum install -y ${PACKAGE_PATH}/xrm_${XRM_VERSION}_2-x86_64.rpm; \ 35 | rm ${PACKAGE_PATH}/xrm_${XRM_VERSION}_2-x86_64.rpm; 36 | 37 | # Enalble Systemctl 38 | RUN wget -cO - https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl3.py > /usr/local/share/systemctl3.py; \ 39 | echo "alias systemctl='python3 /usr/local/share/systemctl3.py'" >> /root/.bashrc; \ 40 | ln -s /usr/local/share/docker-systemctl-replacement/files/docker/systemctl3.py /usr/local/bin/systemctl; \ 41 | export PATH=/usr/local/bin/:$PATH; \ 42 | yum clean all && rm -rf /var/cache/yum; 43 | 44 | COPY auto_setup.sh /opt/xilinx/auto_setup.sh 45 | COPY .bashrc /root/.bashrc 46 | -------------------------------------------------------------------------------- /Dockerfiles/2021.1/ubuntu-20.04/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:20.04 2 | ARG PACKAGE_PATH=/tmp/xilinx_packages 3 | RUN apt-get update; apt-get install -y wget; mkdir -p ${PACKAGE_PATH}; mkdir -p /opt/xilinx/shell 4 | 5 | # Download XRT pacakges 6 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202020.2.9.317_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202020.2.9.317_20.04-amd64-xrt.deb; \ 7 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202110.2.11.634_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202110.2.11.634_20.04-amd64-xrt.deb; \ 8 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrm_202110.1.2.1539_20.04-x86_64.deb > ${PACKAGE_PATH}/xrm_202110.1.2.1539_20.04-x86_64.deb; 9 | 10 | # Download u50 XRT Shell Packages 11 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u50-gen3x16-xdma-all_1-2784799.deb.tar.gz > /opt/xilinx/shell/xilinx-u50-gen3x16-xdma-all_1-2784799.deb.tar.gz; 12 | 13 | # Download u200 XRT Shell Pacakges 14 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u200-gen3x16-xdma-all_1-3209015.deb_2.tar.gz > /opt/xilinx/shell/xilinx-u200-gen3x16-xdma-all_1-3209015.deb_2.tar.gz; 15 | 16 | # Download u250 XRT Shell Packages 17 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u250-gen3x16-xdma-all_3.1-3063142.deb_2.tar.gz > /opt/xilinx/shell/xilinx-u250-gen3x16-xdma-all_3.1-3063142.deb_2.tar.gz; 18 | 19 | # Untar relevant shell packages 20 | RUN cd /opt/xilinx/shell; \ 21 | tar -zxvf /opt/xilinx/shell/xilinx-u50-gen3x16-xdma-all_1-2784799.deb.tar.gz; \ 22 | tar -zxvf /opt/xilinx/shell/xilinx-u200-gen3x16-xdma-all_1-3209015.deb_2.tar.gz; \ 23 | tar -zxvf /opt/xilinx/shell/xilinx-u250-gen3x16-xdma-all_3.1-3063142.deb_2.tar.gz; \ 24 | rm /opt/xilinx/shell/*.tar.gz 25 | 26 | # Install XRT and modify the Path 27 | RUN XRT_VERSION="202020.2.9.317"; \ 28 | apt-get update; \ 29 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 30 | mkdir /opt/xilinx/xrt_versions; \ 31 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 32 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 33 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; 34 | 35 | RUN XRT_VERSION="202110.2.11.634"; \ 36 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 37 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 38 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 39 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 40 | ln -s /opt/xilinx/xrt_versions/xrt_${XRT_VERSION} /opt/xilinx/xrt 41 | 42 | # Download and install XRM package 43 | RUN XRM_VERSION="202110.1.2.1539"; \ 44 | apt-get install -y ${PACKAGE_PATH}/xrm_${XRM_VERSION}_20.04-x86_64.deb 45 | 46 | # Enalble Systemctl 47 | RUN wget -cO - https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl3.py > /usr/local/share/systemctl3.py; 48 | RUN echo "alias systemctl='python3 /usr/local/share/systemctl3.py'" >> /root/.bashrc 49 | RUN ln -s /usr/local/share/docker-systemctl-replacement/files/docker/systemctl3.py /usr/local/bin/systemctl 50 | RUN export PATH=/usr/local/bin/:$PATH 51 | 52 | COPY auto_setup.sh /opt/xilinx/auto_setup.sh 53 | 54 | -------------------------------------------------------------------------------- /Dockerfiles/2023.1/ubuntu-22.04/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:22.04 2 | ARG PACKAGE_PATH=/tmp/xilinx_packages 3 | RUN apt-get update; apt-get install -y wget; mkdir -p ${PACKAGE_PATH}; mkdir -p /opt/xilinx/shell 4 | 5 | # Download XRT pacakges 6 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202220.2.14.354_22.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202220.2.14.354_22.04-amd64-xrt.deb; \ 7 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202310.2.15.225_22.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202310.2.15.225_22.04-amd64-xrt.deb; \ 8 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrm_202310.1.6.50044_ubuntu22.04-x86_64.deb > ${PACKAGE_PATH}/xrm_202310.1.6.50044_ubuntu22.04-x86_64.deb; 9 | 10 | # Download u200 XRT Shell Pacakges 11 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u200-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz > /opt/xilinx/shell/xilinx-u200-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 12 | # Download u250 XRT Shell Packages 13 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u250-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz > /opt/xilinx/shell/xilinx-u250-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 14 | # Download u50 XRT Shell Packages 15 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u50-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz > /opt/xilinx/shell/xilinx-u50-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 16 | # Download u55c XRT Shell Packages 17 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u55c-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz > /opt/xilinx/shell/xilinx-u55c-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; 18 | # Untar relevant shell packages 19 | RUN cd /opt/xilinx/shell; \ 20 | tar -ozxvf /opt/xilinx/shell/xilinx-u200-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 21 | tar -ozxvf /opt/xilinx/shell/xilinx-u250-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 22 | tar -ozxvf /opt/xilinx/shell/xilinx-u50-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 23 | tar -ozxvf /opt/xilinx/shell/xilinx-u55c-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 24 | rm /opt/xilinx/shell/*.tar.gz 25 | 26 | # Install XRT and modify the Path 27 | RUN XRT_VERSION="202220.2.14.354"; \ 28 | apt-get update; \ 29 | mkdir /opt/xilinx/xrt_versions; \ 30 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_22.04-amd64-xrt.deb; \ 31 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 32 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 33 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 34 | ln -s /opt/xilinx/xrt_versions/xrt_${XRT_VERSION} /opt/xilinx/xrt 35 | 36 | # Download and install XRM package 37 | RUN XRM_VERSION="202310.1.6.50044"; \ 38 | apt-get install -y ${PACKAGE_PATH}/xrm_${XRM_VERSION}_ubuntu22.04-x86_64.deb 39 | 40 | # Enalble Systemctl 41 | RUN wget -cO - https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl3.py > /usr/local/share/systemctl3.py; \ 42 | echo "alias systemctl='python3 /usr/local/share/systemctl3.py'" >> /root/.bashrc; \ 43 | ln -s /usr/local/share/docker-systemctl-replacement/files/docker/systemctl3.py /usr/local/bin/systemctl; \ 44 | export PATH=/usr/local/bin/:$PATH 45 | 46 | COPY auto_setup.sh /opt/xilinx/auto_setup.sh 47 | COPY .bashrc /root/.bashrc 48 | -------------------------------------------------------------------------------- /Dockerfiles/2020.2/ubuntu-18.04/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:18.04 2 | ARG PACKAGE_PATH=/root/xilinx_packages 3 | RUN apt-get update; apt-get install -y wget; mkdir -p ${PACKAGE_PATH} 4 | # Download XRT pacakges 5 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_201910.2.2.2250_18.04-xrt.deb > ${PACKAGE_PATH}/xrt_201910.2.2.2250_18.04-xrt.deb; \ 6 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_201920.2.3.1301_18.04-xrt.deb > ${PACKAGE_PATH}/xrt_201920.2.3.1301_18.04-xrt.deb; \ 7 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_201920.2.5.309_18.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_201920.2.5.309_18.04-amd64-xrt.deb; \ 8 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202010.2.6.655_18.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202010.2.6.655_18.04-amd64-xrt.deb; \ 9 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202020.2.8.743_18.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202020.2.8.743_18.04-amd64-xrt.deb; 10 | # Install XRT and modify the Path 11 | RUN XRT_VERSION="201910.2.2.2250"; \ 12 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_18.04-xrt.deb; \ 13 | mv /opt/xilinx/xrt /opt/xilinx/xrt_${XRT_VERSION}; \ 14 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.sh; \ 15 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.csh; 16 | RUN XRT_VERSION="201920.2.3.1301"; \ 17 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_18.04-xrt.deb; \ 18 | mv /opt/xilinx/xrt /opt/xilinx/xrt_${XRT_VERSION}; \ 19 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.sh; \ 20 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.csh; 21 | RUN XRT_VERSION="201920.2.5.309"; \ 22 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_18.04-amd64-xrt.deb; \ 23 | mv /opt/xilinx/xrt /opt/xilinx/xrt_${XRT_VERSION}; \ 24 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.sh; \ 25 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.csh; 26 | RUN XRT_VERSION="202010.2.6.655"; \ 27 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_18.04-amd64-xrt.deb; \ 28 | mv /opt/xilinx/xrt /opt/xilinx/xrt_${XRT_VERSION}; \ 29 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.sh; \ 30 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.csh; 31 | RUN XRT_VERSION="202020.2.8.743"; \ 32 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_18.04-amd64-xrt.deb; \ 33 | mv /opt/xilinx/xrt /opt/xilinx/xrt_${XRT_VERSION}; \ 34 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.sh; \ 35 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.csh; \ 36 | ln -s /opt/xilinx/xrt_${XRT_VERSION} /opt/xilinx/xrt 37 | # Download and install XRM package 38 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrm_202020.1.1.1016_18.04-x86_64.deb > \ 39 | ${PACKAGE_PATH}/xrm_202020.1.1.1016_18.04-x86_64.deb; \ 40 | apt-get install -y ${PACKAGE_PATH}/xrm_202020.1.1.1016_18.04-x86_64.deb 41 | # Enalble Systemctl 42 | RUN wget -cO - https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl3.py > /usr/local/share/systemctl3.py; echo "alias systemctl='python3 /usr/local/share/systemctl3.py'" >> /root/.bashrc 43 | 44 | #Copy notice and disclaimer 45 | ADD Xilinx_notice_and_disclaimer.txt /Xilinx_notice_and_disclaimer.txt 46 | -------------------------------------------------------------------------------- /Dockerfiles/2022.1_noshell/ubuntu-20.04/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:20.04 2 | ARG PACKAGE_PATH=/tmp/xilinx_packages 3 | RUN apt-get update; apt-get install -y wget; mkdir -p ${PACKAGE_PATH}; mkdir -p /opt/xilinx/shell 4 | 5 | # Download XRT pacakges 6 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202020.2.9.317_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202020.2.9.317_20.04-amd64-xrt.deb; \ 7 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202110.2.11.634_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202110.2.11.634_20.04-amd64-xrt.deb; \ 8 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202120.2.12.427_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202120.2.12.427_20.04-amd64-xrt.deb; \ 9 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202210.2.13.466_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202210.2.13.466_20.04-amd64-xrt.deb; \ 10 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrm_202210.1.4.9_20.04-x86_64.deb > ${PACKAGE_PATH}/xrm_202210.1.4.9_20.04-x86_64.deb; 11 | 12 | # Install XRT and modify the Path 13 | RUN XRT_VERSION="202020.2.9.317"; \ 14 | apt-get update; \ 15 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 16 | mkdir /opt/xilinx/xrt_versions; \ 17 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 18 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 19 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 20 | XRT_VERSION="202110.2.11.634"; \ 21 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 22 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 23 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 24 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 25 | XRT_VERSION="202120.2.12.427"; \ 26 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 27 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 28 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 29 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 30 | XRT_VERSION="202210.2.13.466"; \ 31 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 32 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 33 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 34 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 35 | ln -s /opt/xilinx/xrt_versions/xrt_${XRT_VERSION} /opt/xilinx/xrt 36 | 37 | # Download and install XRM package 38 | RUN XRM_VERSION="202210.1.4.9"; \ 39 | apt-get install -y ${PACKAGE_PATH}/xrm_${XRM_VERSION}_20.04-x86_64.deb 40 | 41 | # Enalble Systemctl 42 | RUN wget -cO - https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl3.py > /usr/local/share/systemctl3.py; \ 43 | echo "alias systemctl='python3 /usr/local/share/systemctl3.py'" >> /root/.bashrc; \ 44 | ln -s /usr/local/share/docker-systemctl-replacement/files/docker/systemctl3.py /usr/local/bin/systemctl; \ 45 | export PATH=/usr/local/bin/:$PATH 46 | 47 | COPY auto_setup.sh /opt/xilinx/auto_setup.sh 48 | COPY .bashrc /root/.bashrc 49 | -------------------------------------------------------------------------------- /Dockerfiles/2020.2/ubuntu-16.04/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | ARG PACKAGE_PATH=/root/xilinx_packages 3 | 4 | RUN apt-get update; apt-get install -y wget; mkdir -p ${PACKAGE_PATH} 5 | 6 | # Download XRT pacakges 7 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_201910.2.2.2250_16.04-xrt.deb > ${PACKAGE_PATH}/xrt_201910.2.2.2250_16.04-xrt.deb; \ 8 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_201920.2.3.1301_16.04-xrt.deb > ${PACKAGE_PATH}/xrt_201920.2.3.1301_16.04-xrt.deb; \ 9 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_201920.2.5.309_16.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_201920.2.5.309_16.04-amd64-xrt.deb; \ 10 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202010.2.7.766_16.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202010.2.7.766_16.04-amd64-xrt.deb; \ 11 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202020.2.9.317_16.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202020.2.9.317_16.04-amd64-xrt.deb; 12 | 13 | # Install XRT and modify the Path 14 | RUN XRT_VERSION="201910.2.2.2250"; \ 15 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_16.04-xrt.deb; \ 16 | mv /opt/xilinx/xrt /opt/xilinx/xrt_${XRT_VERSION}; \ 17 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.sh; \ 18 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.csh; 19 | 20 | RUN XRT_VERSION="201920.2.3.1301"; \ 21 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_16.04-xrt.deb; \ 22 | mv /opt/xilinx/xrt /opt/xilinx/xrt_${XRT_VERSION}; \ 23 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.sh; \ 24 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.csh; 25 | 26 | RUN XRT_VERSION="201920.2.5.309"; \ 27 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_16.04-amd64-xrt.deb; \ 28 | mv /opt/xilinx/xrt /opt/xilinx/xrt_${XRT_VERSION}; \ 29 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.sh; \ 30 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.csh; 31 | 32 | RUN XRT_VERSION="202010.2.7.766"; \ 33 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_16.04-amd64-xrt.deb; \ 34 | mv /opt/xilinx/xrt /opt/xilinx/xrt_${XRT_VERSION}; \ 35 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.sh; \ 36 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.csh; 37 | 38 | RUN XRT_VERSION="202020.2.9.317"; \ 39 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_16.04-amd64-xrt.deb; \ 40 | mv /opt/xilinx/xrt /opt/xilinx/xrt_${XRT_VERSION}; \ 41 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.sh; \ 42 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.csh; \ 43 | ln -s /opt/xilinx/xrt_${XRT_VERSION} /opt/xilinx/xrt 44 | 45 | # Download and install XRM package 46 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrm_202020.1.1.1016_16.04-x86_64.deb > \ 47 | ${PACKAGE_PATH}/xrm_202020.1.1.1016_16.04-x86_64.deb; \ 48 | apt-get install -y ${PACKAGE_PATH}/xrm_202020.1.1.1016_16.04-x86_64.deb 49 | 50 | # Enalble Systemctl 51 | RUN wget -cO - https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl3.py > /usr/local/share/systemctl3.py; echo "alias systemctl='python3 /usr/local/share/systemctl3.py'" >> /root/.bashrc 52 | 53 | 54 | #Copy notice and disclaimer 55 | ADD Xilinx_notice_and_disclaimer.txt /Xilinx_notice_and_disclaimer.txt 56 | -------------------------------------------------------------------------------- /Dockerfiles/2020.2/centos-7/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM centos:7 2 | ARG PACKAGE_PATH=/root/xilinx_packages 3 | 4 | RUN yum update; yum install -y wget; mkdir -p ${PACKAGE_PATH} 5 | RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm 6 | 7 | # Download XRT pacakges 8 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_201910.2.2.2250_7.4.1708-xrt.rpm > ${PACKAGE_PATH}/xrt_201910.2.2.2250_7.4.1708-xrt.rpm; \ 9 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_201920.2.3.1301_7.4.1708-xrt.rpm > ${PACKAGE_PATH}/xrt_201920.2.3.1301_7.4.1708-xrt.rpm; \ 10 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_201920.2.5.309_7.4.1708-x86_64-xrt.rpm > ${PACKAGE_PATH}/xrt_201920.2.5.309_7.4.1708-x86_64-xrt.rpm; \ 11 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202010.2.7.766_7.4.1708-x86_64-xrt.rpm > ${PACKAGE_PATH}/xrt_202010.2.7.766_7.4.1708-x86_64-xrt.rpm; \ 12 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202020.2.9.317_7.4.1708-x86_64-xrt.rpm > ${PACKAGE_PATH}/xrt_202020.2.9.317_7.4.1708-x86_64-xrt.rpm; 13 | 14 | # Install XRT and modify the Path 15 | RUN XRT_VERSION="201910.2.2.2250"; \ 16 | yum install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_7.4.1708-xrt.rpm; \ 17 | mv /opt/xilinx/xrt /opt/xilinx/xrt_${XRT_VERSION}; \ 18 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.sh; \ 19 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.csh; 20 | 21 | RUN XRT_VERSION="201920.2.3.1301"; \ 22 | yum install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_7.4.1708-xrt.rpm; \ 23 | mv /opt/xilinx/xrt /opt/xilinx/xrt_${XRT_VERSION}; \ 24 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.sh; \ 25 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.csh; 26 | 27 | RUN XRT_VERSION="201920.2.5.309"; \ 28 | yum install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_7.4.1708-x86_64-xrt.rpm; \ 29 | mv /opt/xilinx/xrt /opt/xilinx/xrt_${XRT_VERSION}; \ 30 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.sh; \ 31 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.csh; 32 | 33 | RUN XRT_VERSION="202010.2.7.766"; \ 34 | yum install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_7.4.1708-x86_64-xrt.rpm; \ 35 | mv /opt/xilinx/xrt /opt/xilinx/xrt_${XRT_VERSION}; \ 36 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.sh; \ 37 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.csh; 38 | 39 | RUN XRT_VERSION="202020.2.9.317"; \ 40 | yum install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_7.4.1708-x86_64-xrt.rpm; \ 41 | mv /opt/xilinx/xrt /opt/xilinx/xrt_${XRT_VERSION}; \ 42 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.sh; \ 43 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_${XRT_VERSION}/setup.csh; \ 44 | ln -s /opt/xilinx/xrt_${XRT_VERSION} /opt/xilinx/xrt 45 | 46 | # Download and install XRM package 47 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrm_202020.1.1.1016_7.4.1708-x86_64.rpm > \ 48 | ${PACKAGE_PATH}/xrm_202020.1.1.1016_7.4.1708-x86_64.rpm; \ 49 | yum install -y ${PACKAGE_PATH}/xrm_202020.1.1.1016_7.4.1708-x86_64.rpm 50 | 51 | # Enalble Systemctl 52 | RUN wget -cO - https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl3.py > /usr/local/share/systemctl3.py; echo "alias systemctl='python3 /usr/local/share/systemctl3.py'" >> /root/.bashrc 53 | 54 | 55 | #Copy notice and disclaimer 56 | ADD Xilinx_notice_and_disclaimer.txt /Xilinx_notice_and_disclaimer.txt 57 | -------------------------------------------------------------------------------- /Dockerfiles/2022.1/centos-7/.bashrc: -------------------------------------------------------------------------------- 1 | # ~/.bashrc: executed by bash(1) for non-login shells. 2 | # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 3 | # for examples 4 | 5 | # If not running interactively, don't do anything 6 | [ -z "$PS1" ] && return 7 | 8 | # don't put duplicate lines in the history. See bash(1) for more options 9 | # ... or force ignoredups and ignorespace 10 | HISTCONTROL=ignoredups:ignorespace 11 | 12 | # append to the history file, don't overwrite it 13 | shopt -s histappend 14 | 15 | # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) 16 | HISTSIZE=1000 17 | HISTFILESIZE=2000 18 | 19 | # check the window size after each command and, if necessary, 20 | # update the values of LINES and COLUMNS. 21 | shopt -s checkwinsize 22 | 23 | # make less more friendly for non-text input files, see lesspipe(1) 24 | [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" 25 | 26 | # set variable identifying the chroot you work in (used in the prompt below) 27 | if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then 28 | debian_chroot=$(cat /etc/debian_chroot) 29 | fi 30 | 31 | # set a fancy prompt (non-color, unless we know we "want" color) 32 | case "$TERM" in 33 | xterm-color) color_prompt=yes;; 34 | esac 35 | 36 | # uncomment for a colored prompt, if the terminal has the capability; turned 37 | # off by default to not distract the user: the focus in a terminal window 38 | # should be on the output of commands, not on the prompt 39 | #force_color_prompt=yes 40 | 41 | if [ -n "$force_color_prompt" ]; then 42 | if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then 43 | # We have color support; assume it's compliant with Ecma-48 44 | # (ISO/IEC-6429). (Lack of such support is extremely rare, and such 45 | # a case would tend to support setf rather than setaf.) 46 | color_prompt=yes 47 | else 48 | color_prompt= 49 | fi 50 | fi 51 | 52 | if [ "$color_prompt" = yes ]; then 53 | PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 54 | else 55 | PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' 56 | fi 57 | unset color_prompt force_color_prompt 58 | 59 | # If this is an xterm set the title to user@host:dir 60 | case "$TERM" in 61 | xterm*|rxvt*) 62 | PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" 63 | ;; 64 | *) 65 | ;; 66 | esac 67 | 68 | # enable color support of ls and also add handy aliases 69 | if [ -x /usr/bin/dircolors ]; then 70 | test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" 71 | alias ls='ls --color=auto' 72 | #alias dir='dir --color=auto' 73 | #alias vdir='vdir --color=auto' 74 | 75 | alias grep='grep --color=auto' 76 | alias fgrep='fgrep --color=auto' 77 | alias egrep='egrep --color=auto' 78 | fi 79 | 80 | # some more ls aliases 81 | alias ll='ls -alF' 82 | alias la='ls -A' 83 | alias l='ls -CF' 84 | 85 | # Alias definitions. 86 | # You may want to put all your additions into a separate file like 87 | # ~/.bash_aliases, instead of adding them here directly. 88 | # See /usr/share/doc/bash-doc/examples in the bash-doc package. 89 | 90 | if [ -f ~/.bash_aliases ]; then 91 | . ~/.bash_aliases 92 | fi 93 | 94 | # enable programmable completion features (you don't need to enable 95 | # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 96 | # sources /etc/bash.bashrc). 97 | #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then 98 | # . /etc/bash_completion 99 | #fi 100 | alias systemctl='python3 /usr/local/share/systemctl3.py' 101 | 102 | echo "This docker image contains the following XRT Version(s):" 103 | ls /opt/xilinx/xrt_versions | grep xrt | cut -d"_" -f2 104 | 105 | ls /opt/xilinx/shell>/dev/null 106 | if [[ $? == 0 ]]; then 107 | echo "This docker image contains the following Shell Package(s):" 108 | ls /opt/xilinx/shell | grep xilinx 109 | else 110 | echo "This docker image does not contain any Shell Packages" 111 | fi 112 | -------------------------------------------------------------------------------- /Dockerfiles/2022.2/centos-7/.bashrc: -------------------------------------------------------------------------------- 1 | # ~/.bashrc: executed by bash(1) for non-login shells. 2 | # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 3 | # for examples 4 | 5 | # If not running interactively, don't do anything 6 | [ -z "$PS1" ] && return 7 | 8 | # don't put duplicate lines in the history. See bash(1) for more options 9 | # ... or force ignoredups and ignorespace 10 | HISTCONTROL=ignoredups:ignorespace 11 | 12 | # append to the history file, don't overwrite it 13 | shopt -s histappend 14 | 15 | # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) 16 | HISTSIZE=1000 17 | HISTFILESIZE=2000 18 | 19 | # check the window size after each command and, if necessary, 20 | # update the values of LINES and COLUMNS. 21 | shopt -s checkwinsize 22 | 23 | # make less more friendly for non-text input files, see lesspipe(1) 24 | [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" 25 | 26 | # set variable identifying the chroot you work in (used in the prompt below) 27 | if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then 28 | debian_chroot=$(cat /etc/debian_chroot) 29 | fi 30 | 31 | # set a fancy prompt (non-color, unless we know we "want" color) 32 | case "$TERM" in 33 | xterm-color) color_prompt=yes;; 34 | esac 35 | 36 | # uncomment for a colored prompt, if the terminal has the capability; turned 37 | # off by default to not distract the user: the focus in a terminal window 38 | # should be on the output of commands, not on the prompt 39 | #force_color_prompt=yes 40 | 41 | if [ -n "$force_color_prompt" ]; then 42 | if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then 43 | # We have color support; assume it's compliant with Ecma-48 44 | # (ISO/IEC-6429). (Lack of such support is extremely rare, and such 45 | # a case would tend to support setf rather than setaf.) 46 | color_prompt=yes 47 | else 48 | color_prompt= 49 | fi 50 | fi 51 | 52 | if [ "$color_prompt" = yes ]; then 53 | PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 54 | else 55 | PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' 56 | fi 57 | unset color_prompt force_color_prompt 58 | 59 | # If this is an xterm set the title to user@host:dir 60 | case "$TERM" in 61 | xterm*|rxvt*) 62 | PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" 63 | ;; 64 | *) 65 | ;; 66 | esac 67 | 68 | # enable color support of ls and also add handy aliases 69 | if [ -x /usr/bin/dircolors ]; then 70 | test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" 71 | alias ls='ls --color=auto' 72 | #alias dir='dir --color=auto' 73 | #alias vdir='vdir --color=auto' 74 | 75 | alias grep='grep --color=auto' 76 | alias fgrep='fgrep --color=auto' 77 | alias egrep='egrep --color=auto' 78 | fi 79 | 80 | # some more ls aliases 81 | alias ll='ls -alF' 82 | alias la='ls -A' 83 | alias l='ls -CF' 84 | 85 | # Alias definitions. 86 | # You may want to put all your additions into a separate file like 87 | # ~/.bash_aliases, instead of adding them here directly. 88 | # See /usr/share/doc/bash-doc/examples in the bash-doc package. 89 | 90 | if [ -f ~/.bash_aliases ]; then 91 | . ~/.bash_aliases 92 | fi 93 | 94 | # enable programmable completion features (you don't need to enable 95 | # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 96 | # sources /etc/bash.bashrc). 97 | #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then 98 | # . /etc/bash_completion 99 | #fi 100 | alias systemctl='python3 /usr/local/share/systemctl3.py' 101 | 102 | echo "This docker image contains the following XRT Version(s):" 103 | ls /opt/xilinx/xrt_versions | grep xrt | cut -d"_" -f2 104 | 105 | ls /opt/xilinx/shell>/dev/null 106 | if [[ $? == 0 ]]; then 107 | echo "This docker image contains the following Shell Package(s):" 108 | ls /opt/xilinx/shell | grep xilinx 109 | else 110 | echo "This docker image does not contain any Shell Packages" 111 | fi 112 | -------------------------------------------------------------------------------- /Dockerfiles/2023.1/centos-7/.bashrc: -------------------------------------------------------------------------------- 1 | # ~/.bashrc: executed by bash(1) for non-login shells. 2 | # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 3 | # for examples 4 | 5 | # If not running interactively, don't do anything 6 | [ -z "$PS1" ] && return 7 | 8 | # don't put duplicate lines in the history. See bash(1) for more options 9 | # ... or force ignoredups and ignorespace 10 | HISTCONTROL=ignoredups:ignorespace 11 | 12 | # append to the history file, don't overwrite it 13 | shopt -s histappend 14 | 15 | # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) 16 | HISTSIZE=1000 17 | HISTFILESIZE=2000 18 | 19 | # check the window size after each command and, if necessary, 20 | # update the values of LINES and COLUMNS. 21 | shopt -s checkwinsize 22 | 23 | # make less more friendly for non-text input files, see lesspipe(1) 24 | [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" 25 | 26 | # set variable identifying the chroot you work in (used in the prompt below) 27 | if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then 28 | debian_chroot=$(cat /etc/debian_chroot) 29 | fi 30 | 31 | # set a fancy prompt (non-color, unless we know we "want" color) 32 | case "$TERM" in 33 | xterm-color) color_prompt=yes;; 34 | esac 35 | 36 | # uncomment for a colored prompt, if the terminal has the capability; turned 37 | # off by default to not distract the user: the focus in a terminal window 38 | # should be on the output of commands, not on the prompt 39 | #force_color_prompt=yes 40 | 41 | if [ -n "$force_color_prompt" ]; then 42 | if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then 43 | # We have color support; assume it's compliant with Ecma-48 44 | # (ISO/IEC-6429). (Lack of such support is extremely rare, and such 45 | # a case would tend to support setf rather than setaf.) 46 | color_prompt=yes 47 | else 48 | color_prompt= 49 | fi 50 | fi 51 | 52 | if [ "$color_prompt" = yes ]; then 53 | PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 54 | else 55 | PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' 56 | fi 57 | unset color_prompt force_color_prompt 58 | 59 | # If this is an xterm set the title to user@host:dir 60 | case "$TERM" in 61 | xterm*|rxvt*) 62 | PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" 63 | ;; 64 | *) 65 | ;; 66 | esac 67 | 68 | # enable color support of ls and also add handy aliases 69 | if [ -x /usr/bin/dircolors ]; then 70 | test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" 71 | alias ls='ls --color=auto' 72 | #alias dir='dir --color=auto' 73 | #alias vdir='vdir --color=auto' 74 | 75 | alias grep='grep --color=auto' 76 | alias fgrep='fgrep --color=auto' 77 | alias egrep='egrep --color=auto' 78 | fi 79 | 80 | # some more ls aliases 81 | alias ll='ls -alF' 82 | alias la='ls -A' 83 | alias l='ls -CF' 84 | 85 | # Alias definitions. 86 | # You may want to put all your additions into a separate file like 87 | # ~/.bash_aliases, instead of adding them here directly. 88 | # See /usr/share/doc/bash-doc/examples in the bash-doc package. 89 | 90 | if [ -f ~/.bash_aliases ]; then 91 | . ~/.bash_aliases 92 | fi 93 | 94 | # enable programmable completion features (you don't need to enable 95 | # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 96 | # sources /etc/bash.bashrc). 97 | #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then 98 | # . /etc/bash_completion 99 | #fi 100 | alias systemctl='python3 /usr/local/share/systemctl3.py' 101 | 102 | echo "This docker image contains the following XRT Version(s):" 103 | ls /opt/xilinx/xrt_versions | grep xrt | cut -d"_" -f2 104 | 105 | ls /opt/xilinx/shell>/dev/null 106 | if [[ $? == 0 ]]; then 107 | echo "This docker image contains the following Shell Package(s):" 108 | ls /opt/xilinx/shell | grep xilinx 109 | else 110 | echo "This docker image does not contain any Shell Packages" 111 | fi 112 | -------------------------------------------------------------------------------- /Dockerfiles/2022.1/ubuntu-18.04/.bashrc: -------------------------------------------------------------------------------- 1 | # ~/.bashrc: executed by bash(1) for non-login shells. 2 | # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 3 | # for examples 4 | 5 | # If not running interactively, don't do anything 6 | [ -z "$PS1" ] && return 7 | 8 | # don't put duplicate lines in the history. See bash(1) for more options 9 | # ... or force ignoredups and ignorespace 10 | HISTCONTROL=ignoredups:ignorespace 11 | 12 | # append to the history file, don't overwrite it 13 | shopt -s histappend 14 | 15 | # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) 16 | HISTSIZE=1000 17 | HISTFILESIZE=2000 18 | 19 | # check the window size after each command and, if necessary, 20 | # update the values of LINES and COLUMNS. 21 | shopt -s checkwinsize 22 | 23 | # make less more friendly for non-text input files, see lesspipe(1) 24 | [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" 25 | 26 | # set variable identifying the chroot you work in (used in the prompt below) 27 | if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then 28 | debian_chroot=$(cat /etc/debian_chroot) 29 | fi 30 | 31 | # set a fancy prompt (non-color, unless we know we "want" color) 32 | case "$TERM" in 33 | xterm-color) color_prompt=yes;; 34 | esac 35 | 36 | # uncomment for a colored prompt, if the terminal has the capability; turned 37 | # off by default to not distract the user: the focus in a terminal window 38 | # should be on the output of commands, not on the prompt 39 | #force_color_prompt=yes 40 | 41 | if [ -n "$force_color_prompt" ]; then 42 | if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then 43 | # We have color support; assume it's compliant with Ecma-48 44 | # (ISO/IEC-6429). (Lack of such support is extremely rare, and such 45 | # a case would tend to support setf rather than setaf.) 46 | color_prompt=yes 47 | else 48 | color_prompt= 49 | fi 50 | fi 51 | 52 | if [ "$color_prompt" = yes ]; then 53 | PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 54 | else 55 | PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' 56 | fi 57 | unset color_prompt force_color_prompt 58 | 59 | # If this is an xterm set the title to user@host:dir 60 | case "$TERM" in 61 | xterm*|rxvt*) 62 | PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" 63 | ;; 64 | *) 65 | ;; 66 | esac 67 | 68 | # enable color support of ls and also add handy aliases 69 | if [ -x /usr/bin/dircolors ]; then 70 | test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" 71 | alias ls='ls --color=auto' 72 | #alias dir='dir --color=auto' 73 | #alias vdir='vdir --color=auto' 74 | 75 | alias grep='grep --color=auto' 76 | alias fgrep='fgrep --color=auto' 77 | alias egrep='egrep --color=auto' 78 | fi 79 | 80 | # some more ls aliases 81 | alias ll='ls -alF' 82 | alias la='ls -A' 83 | alias l='ls -CF' 84 | 85 | # Alias definitions. 86 | # You may want to put all your additions into a separate file like 87 | # ~/.bash_aliases, instead of adding them here directly. 88 | # See /usr/share/doc/bash-doc/examples in the bash-doc package. 89 | 90 | if [ -f ~/.bash_aliases ]; then 91 | . ~/.bash_aliases 92 | fi 93 | 94 | # enable programmable completion features (you don't need to enable 95 | # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 96 | # sources /etc/bash.bashrc). 97 | #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then 98 | # . /etc/bash_completion 99 | #fi 100 | alias systemctl='python3 /usr/local/share/systemctl3.py' 101 | 102 | echo "This docker image contains the following XRT Version(s):" 103 | ls /opt/xilinx/xrt_versions | grep xrt | cut -d"_" -f2 104 | 105 | ls /opt/xilinx/shell>/dev/null 106 | if [[ $? == 0 ]]; then 107 | echo "This docker image contains the following Shell Package(s):" 108 | ls /opt/xilinx/shell | grep xilinx 109 | else 110 | echo "This docker image does not contain any Shell Packages" 111 | fi 112 | -------------------------------------------------------------------------------- /Dockerfiles/2022.1/ubuntu-20.04/.bashrc: -------------------------------------------------------------------------------- 1 | # ~/.bashrc: executed by bash(1) for non-login shells. 2 | # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 3 | # for examples 4 | 5 | # If not running interactively, don't do anything 6 | [ -z "$PS1" ] && return 7 | 8 | # don't put duplicate lines in the history. See bash(1) for more options 9 | # ... or force ignoredups and ignorespace 10 | HISTCONTROL=ignoredups:ignorespace 11 | 12 | # append to the history file, don't overwrite it 13 | shopt -s histappend 14 | 15 | # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) 16 | HISTSIZE=1000 17 | HISTFILESIZE=2000 18 | 19 | # check the window size after each command and, if necessary, 20 | # update the values of LINES and COLUMNS. 21 | shopt -s checkwinsize 22 | 23 | # make less more friendly for non-text input files, see lesspipe(1) 24 | [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" 25 | 26 | # set variable identifying the chroot you work in (used in the prompt below) 27 | if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then 28 | debian_chroot=$(cat /etc/debian_chroot) 29 | fi 30 | 31 | # set a fancy prompt (non-color, unless we know we "want" color) 32 | case "$TERM" in 33 | xterm-color) color_prompt=yes;; 34 | esac 35 | 36 | # uncomment for a colored prompt, if the terminal has the capability; turned 37 | # off by default to not distract the user: the focus in a terminal window 38 | # should be on the output of commands, not on the prompt 39 | #force_color_prompt=yes 40 | 41 | if [ -n "$force_color_prompt" ]; then 42 | if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then 43 | # We have color support; assume it's compliant with Ecma-48 44 | # (ISO/IEC-6429). (Lack of such support is extremely rare, and such 45 | # a case would tend to support setf rather than setaf.) 46 | color_prompt=yes 47 | else 48 | color_prompt= 49 | fi 50 | fi 51 | 52 | if [ "$color_prompt" = yes ]; then 53 | PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 54 | else 55 | PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' 56 | fi 57 | unset color_prompt force_color_prompt 58 | 59 | # If this is an xterm set the title to user@host:dir 60 | case "$TERM" in 61 | xterm*|rxvt*) 62 | PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" 63 | ;; 64 | *) 65 | ;; 66 | esac 67 | 68 | # enable color support of ls and also add handy aliases 69 | if [ -x /usr/bin/dircolors ]; then 70 | test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" 71 | alias ls='ls --color=auto' 72 | #alias dir='dir --color=auto' 73 | #alias vdir='vdir --color=auto' 74 | 75 | alias grep='grep --color=auto' 76 | alias fgrep='fgrep --color=auto' 77 | alias egrep='egrep --color=auto' 78 | fi 79 | 80 | # some more ls aliases 81 | alias ll='ls -alF' 82 | alias la='ls -A' 83 | alias l='ls -CF' 84 | 85 | # Alias definitions. 86 | # You may want to put all your additions into a separate file like 87 | # ~/.bash_aliases, instead of adding them here directly. 88 | # See /usr/share/doc/bash-doc/examples in the bash-doc package. 89 | 90 | if [ -f ~/.bash_aliases ]; then 91 | . ~/.bash_aliases 92 | fi 93 | 94 | # enable programmable completion features (you don't need to enable 95 | # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 96 | # sources /etc/bash.bashrc). 97 | #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then 98 | # . /etc/bash_completion 99 | #fi 100 | alias systemctl='python3 /usr/local/share/systemctl3.py' 101 | 102 | echo "This docker image contains the following XRT Version(s):" 103 | ls /opt/xilinx/xrt_versions | grep xrt | cut -d"_" -f2 104 | 105 | ls /opt/xilinx/shell>/dev/null 106 | if [[ $? == 0 ]]; then 107 | echo "This docker image contains the following Shell Package(s):" 108 | ls /opt/xilinx/shell | grep xilinx 109 | else 110 | echo "This docker image does not contain any Shell Packages" 111 | fi 112 | -------------------------------------------------------------------------------- /Dockerfiles/2022.2/ubuntu-18.04/.bashrc: -------------------------------------------------------------------------------- 1 | # ~/.bashrc: executed by bash(1) for non-login shells. 2 | # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 3 | # for examples 4 | 5 | # If not running interactively, don't do anything 6 | [ -z "$PS1" ] && return 7 | 8 | # don't put duplicate lines in the history. See bash(1) for more options 9 | # ... or force ignoredups and ignorespace 10 | HISTCONTROL=ignoredups:ignorespace 11 | 12 | # append to the history file, don't overwrite it 13 | shopt -s histappend 14 | 15 | # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) 16 | HISTSIZE=1000 17 | HISTFILESIZE=2000 18 | 19 | # check the window size after each command and, if necessary, 20 | # update the values of LINES and COLUMNS. 21 | shopt -s checkwinsize 22 | 23 | # make less more friendly for non-text input files, see lesspipe(1) 24 | [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" 25 | 26 | # set variable identifying the chroot you work in (used in the prompt below) 27 | if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then 28 | debian_chroot=$(cat /etc/debian_chroot) 29 | fi 30 | 31 | # set a fancy prompt (non-color, unless we know we "want" color) 32 | case "$TERM" in 33 | xterm-color) color_prompt=yes;; 34 | esac 35 | 36 | # uncomment for a colored prompt, if the terminal has the capability; turned 37 | # off by default to not distract the user: the focus in a terminal window 38 | # should be on the output of commands, not on the prompt 39 | #force_color_prompt=yes 40 | 41 | if [ -n "$force_color_prompt" ]; then 42 | if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then 43 | # We have color support; assume it's compliant with Ecma-48 44 | # (ISO/IEC-6429). (Lack of such support is extremely rare, and such 45 | # a case would tend to support setf rather than setaf.) 46 | color_prompt=yes 47 | else 48 | color_prompt= 49 | fi 50 | fi 51 | 52 | if [ "$color_prompt" = yes ]; then 53 | PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 54 | else 55 | PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' 56 | fi 57 | unset color_prompt force_color_prompt 58 | 59 | # If this is an xterm set the title to user@host:dir 60 | case "$TERM" in 61 | xterm*|rxvt*) 62 | PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" 63 | ;; 64 | *) 65 | ;; 66 | esac 67 | 68 | # enable color support of ls and also add handy aliases 69 | if [ -x /usr/bin/dircolors ]; then 70 | test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" 71 | alias ls='ls --color=auto' 72 | #alias dir='dir --color=auto' 73 | #alias vdir='vdir --color=auto' 74 | 75 | alias grep='grep --color=auto' 76 | alias fgrep='fgrep --color=auto' 77 | alias egrep='egrep --color=auto' 78 | fi 79 | 80 | # some more ls aliases 81 | alias ll='ls -alF' 82 | alias la='ls -A' 83 | alias l='ls -CF' 84 | 85 | # Alias definitions. 86 | # You may want to put all your additions into a separate file like 87 | # ~/.bash_aliases, instead of adding them here directly. 88 | # See /usr/share/doc/bash-doc/examples in the bash-doc package. 89 | 90 | if [ -f ~/.bash_aliases ]; then 91 | . ~/.bash_aliases 92 | fi 93 | 94 | # enable programmable completion features (you don't need to enable 95 | # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 96 | # sources /etc/bash.bashrc). 97 | #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then 98 | # . /etc/bash_completion 99 | #fi 100 | alias systemctl='python3 /usr/local/share/systemctl3.py' 101 | 102 | echo "This docker image contains the following XRT Version(s):" 103 | ls /opt/xilinx/xrt_versions | grep xrt | cut -d"_" -f2 104 | 105 | ls /opt/xilinx/shell>/dev/null 106 | if [[ $? == 0 ]]; then 107 | echo "This docker image contains the following Shell Package(s):" 108 | ls /opt/xilinx/shell | grep xilinx 109 | else 110 | echo "This docker image does not contain any Shell Packages" 111 | fi 112 | -------------------------------------------------------------------------------- /Dockerfiles/2022.2/ubuntu-20.04/.bashrc: -------------------------------------------------------------------------------- 1 | # ~/.bashrc: executed by bash(1) for non-login shells. 2 | # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 3 | # for examples 4 | 5 | # If not running interactively, don't do anything 6 | [ -z "$PS1" ] && return 7 | 8 | # don't put duplicate lines in the history. See bash(1) for more options 9 | # ... or force ignoredups and ignorespace 10 | HISTCONTROL=ignoredups:ignorespace 11 | 12 | # append to the history file, don't overwrite it 13 | shopt -s histappend 14 | 15 | # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) 16 | HISTSIZE=1000 17 | HISTFILESIZE=2000 18 | 19 | # check the window size after each command and, if necessary, 20 | # update the values of LINES and COLUMNS. 21 | shopt -s checkwinsize 22 | 23 | # make less more friendly for non-text input files, see lesspipe(1) 24 | [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" 25 | 26 | # set variable identifying the chroot you work in (used in the prompt below) 27 | if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then 28 | debian_chroot=$(cat /etc/debian_chroot) 29 | fi 30 | 31 | # set a fancy prompt (non-color, unless we know we "want" color) 32 | case "$TERM" in 33 | xterm-color) color_prompt=yes;; 34 | esac 35 | 36 | # uncomment for a colored prompt, if the terminal has the capability; turned 37 | # off by default to not distract the user: the focus in a terminal window 38 | # should be on the output of commands, not on the prompt 39 | #force_color_prompt=yes 40 | 41 | if [ -n "$force_color_prompt" ]; then 42 | if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then 43 | # We have color support; assume it's compliant with Ecma-48 44 | # (ISO/IEC-6429). (Lack of such support is extremely rare, and such 45 | # a case would tend to support setf rather than setaf.) 46 | color_prompt=yes 47 | else 48 | color_prompt= 49 | fi 50 | fi 51 | 52 | if [ "$color_prompt" = yes ]; then 53 | PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 54 | else 55 | PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' 56 | fi 57 | unset color_prompt force_color_prompt 58 | 59 | # If this is an xterm set the title to user@host:dir 60 | case "$TERM" in 61 | xterm*|rxvt*) 62 | PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" 63 | ;; 64 | *) 65 | ;; 66 | esac 67 | 68 | # enable color support of ls and also add handy aliases 69 | if [ -x /usr/bin/dircolors ]; then 70 | test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" 71 | alias ls='ls --color=auto' 72 | #alias dir='dir --color=auto' 73 | #alias vdir='vdir --color=auto' 74 | 75 | alias grep='grep --color=auto' 76 | alias fgrep='fgrep --color=auto' 77 | alias egrep='egrep --color=auto' 78 | fi 79 | 80 | # some more ls aliases 81 | alias ll='ls -alF' 82 | alias la='ls -A' 83 | alias l='ls -CF' 84 | 85 | # Alias definitions. 86 | # You may want to put all your additions into a separate file like 87 | # ~/.bash_aliases, instead of adding them here directly. 88 | # See /usr/share/doc/bash-doc/examples in the bash-doc package. 89 | 90 | if [ -f ~/.bash_aliases ]; then 91 | . ~/.bash_aliases 92 | fi 93 | 94 | # enable programmable completion features (you don't need to enable 95 | # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 96 | # sources /etc/bash.bashrc). 97 | #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then 98 | # . /etc/bash_completion 99 | #fi 100 | alias systemctl='python3 /usr/local/share/systemctl3.py' 101 | 102 | echo "This docker image contains the following XRT Version(s):" 103 | ls /opt/xilinx/xrt_versions | grep xrt | cut -d"_" -f2 104 | 105 | ls /opt/xilinx/shell>/dev/null 106 | if [[ $? == 0 ]]; then 107 | echo "This docker image contains the following Shell Package(s):" 108 | ls /opt/xilinx/shell | grep xilinx 109 | else 110 | echo "This docker image does not contain any Shell Packages" 111 | fi 112 | -------------------------------------------------------------------------------- /Dockerfiles/2022.2/ubuntu-22.04/.bashrc: -------------------------------------------------------------------------------- 1 | # ~/.bashrc: executed by bash(1) for non-login shells. 2 | # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 3 | # for examples 4 | 5 | # If not running interactively, don't do anything 6 | [ -z "$PS1" ] && return 7 | 8 | # don't put duplicate lines in the history. See bash(1) for more options 9 | # ... or force ignoredups and ignorespace 10 | HISTCONTROL=ignoredups:ignorespace 11 | 12 | # append to the history file, don't overwrite it 13 | shopt -s histappend 14 | 15 | # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) 16 | HISTSIZE=1000 17 | HISTFILESIZE=2000 18 | 19 | # check the window size after each command and, if necessary, 20 | # update the values of LINES and COLUMNS. 21 | shopt -s checkwinsize 22 | 23 | # make less more friendly for non-text input files, see lesspipe(1) 24 | [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" 25 | 26 | # set variable identifying the chroot you work in (used in the prompt below) 27 | if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then 28 | debian_chroot=$(cat /etc/debian_chroot) 29 | fi 30 | 31 | # set a fancy prompt (non-color, unless we know we "want" color) 32 | case "$TERM" in 33 | xterm-color) color_prompt=yes;; 34 | esac 35 | 36 | # uncomment for a colored prompt, if the terminal has the capability; turned 37 | # off by default to not distract the user: the focus in a terminal window 38 | # should be on the output of commands, not on the prompt 39 | #force_color_prompt=yes 40 | 41 | if [ -n "$force_color_prompt" ]; then 42 | if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then 43 | # We have color support; assume it's compliant with Ecma-48 44 | # (ISO/IEC-6429). (Lack of such support is extremely rare, and such 45 | # a case would tend to support setf rather than setaf.) 46 | color_prompt=yes 47 | else 48 | color_prompt= 49 | fi 50 | fi 51 | 52 | if [ "$color_prompt" = yes ]; then 53 | PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 54 | else 55 | PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' 56 | fi 57 | unset color_prompt force_color_prompt 58 | 59 | # If this is an xterm set the title to user@host:dir 60 | case "$TERM" in 61 | xterm*|rxvt*) 62 | PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" 63 | ;; 64 | *) 65 | ;; 66 | esac 67 | 68 | # enable color support of ls and also add handy aliases 69 | if [ -x /usr/bin/dircolors ]; then 70 | test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" 71 | alias ls='ls --color=auto' 72 | #alias dir='dir --color=auto' 73 | #alias vdir='vdir --color=auto' 74 | 75 | alias grep='grep --color=auto' 76 | alias fgrep='fgrep --color=auto' 77 | alias egrep='egrep --color=auto' 78 | fi 79 | 80 | # some more ls aliases 81 | alias ll='ls -alF' 82 | alias la='ls -A' 83 | alias l='ls -CF' 84 | 85 | # Alias definitions. 86 | # You may want to put all your additions into a separate file like 87 | # ~/.bash_aliases, instead of adding them here directly. 88 | # See /usr/share/doc/bash-doc/examples in the bash-doc package. 89 | 90 | if [ -f ~/.bash_aliases ]; then 91 | . ~/.bash_aliases 92 | fi 93 | 94 | # enable programmable completion features (you don't need to enable 95 | # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 96 | # sources /etc/bash.bashrc). 97 | #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then 98 | # . /etc/bash_completion 99 | #fi 100 | alias systemctl='python3 /usr/local/share/systemctl3.py' 101 | 102 | echo "This docker image contains the following XRT Version(s):" 103 | ls /opt/xilinx/xrt_versions | grep xrt | cut -d"_" -f2 104 | 105 | ls /opt/xilinx/shell>/dev/null 106 | if [[ $? == 0 ]]; then 107 | echo "This docker image contains the following Shell Package(s):" 108 | ls /opt/xilinx/shell | grep xilinx 109 | else 110 | echo "This docker image does not contain any Shell Packages" 111 | fi 112 | -------------------------------------------------------------------------------- /Dockerfiles/2023.1/ubuntu-18.04/.bashrc: -------------------------------------------------------------------------------- 1 | # ~/.bashrc: executed by bash(1) for non-login shells. 2 | # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 3 | # for examples 4 | 5 | # If not running interactively, don't do anything 6 | [ -z "$PS1" ] && return 7 | 8 | # don't put duplicate lines in the history. See bash(1) for more options 9 | # ... or force ignoredups and ignorespace 10 | HISTCONTROL=ignoredups:ignorespace 11 | 12 | # append to the history file, don't overwrite it 13 | shopt -s histappend 14 | 15 | # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) 16 | HISTSIZE=1000 17 | HISTFILESIZE=2000 18 | 19 | # check the window size after each command and, if necessary, 20 | # update the values of LINES and COLUMNS. 21 | shopt -s checkwinsize 22 | 23 | # make less more friendly for non-text input files, see lesspipe(1) 24 | [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" 25 | 26 | # set variable identifying the chroot you work in (used in the prompt below) 27 | if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then 28 | debian_chroot=$(cat /etc/debian_chroot) 29 | fi 30 | 31 | # set a fancy prompt (non-color, unless we know we "want" color) 32 | case "$TERM" in 33 | xterm-color) color_prompt=yes;; 34 | esac 35 | 36 | # uncomment for a colored prompt, if the terminal has the capability; turned 37 | # off by default to not distract the user: the focus in a terminal window 38 | # should be on the output of commands, not on the prompt 39 | #force_color_prompt=yes 40 | 41 | if [ -n "$force_color_prompt" ]; then 42 | if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then 43 | # We have color support; assume it's compliant with Ecma-48 44 | # (ISO/IEC-6429). (Lack of such support is extremely rare, and such 45 | # a case would tend to support setf rather than setaf.) 46 | color_prompt=yes 47 | else 48 | color_prompt= 49 | fi 50 | fi 51 | 52 | if [ "$color_prompt" = yes ]; then 53 | PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 54 | else 55 | PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' 56 | fi 57 | unset color_prompt force_color_prompt 58 | 59 | # If this is an xterm set the title to user@host:dir 60 | case "$TERM" in 61 | xterm*|rxvt*) 62 | PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" 63 | ;; 64 | *) 65 | ;; 66 | esac 67 | 68 | # enable color support of ls and also add handy aliases 69 | if [ -x /usr/bin/dircolors ]; then 70 | test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" 71 | alias ls='ls --color=auto' 72 | #alias dir='dir --color=auto' 73 | #alias vdir='vdir --color=auto' 74 | 75 | alias grep='grep --color=auto' 76 | alias fgrep='fgrep --color=auto' 77 | alias egrep='egrep --color=auto' 78 | fi 79 | 80 | # some more ls aliases 81 | alias ll='ls -alF' 82 | alias la='ls -A' 83 | alias l='ls -CF' 84 | 85 | # Alias definitions. 86 | # You may want to put all your additions into a separate file like 87 | # ~/.bash_aliases, instead of adding them here directly. 88 | # See /usr/share/doc/bash-doc/examples in the bash-doc package. 89 | 90 | if [ -f ~/.bash_aliases ]; then 91 | . ~/.bash_aliases 92 | fi 93 | 94 | # enable programmable completion features (you don't need to enable 95 | # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 96 | # sources /etc/bash.bashrc). 97 | #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then 98 | # . /etc/bash_completion 99 | #fi 100 | alias systemctl='python3 /usr/local/share/systemctl3.py' 101 | 102 | echo "This docker image contains the following XRT Version(s):" 103 | ls /opt/xilinx/xrt_versions | grep xrt | cut -d"_" -f2 104 | 105 | ls /opt/xilinx/shell>/dev/null 106 | if [[ $? == 0 ]]; then 107 | echo "This docker image contains the following Shell Package(s):" 108 | ls /opt/xilinx/shell | grep xilinx 109 | else 110 | echo "This docker image does not contain any Shell Packages" 111 | fi 112 | -------------------------------------------------------------------------------- /Dockerfiles/2023.1/ubuntu-20.04/.bashrc: -------------------------------------------------------------------------------- 1 | # ~/.bashrc: executed by bash(1) for non-login shells. 2 | # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 3 | # for examples 4 | 5 | # If not running interactively, don't do anything 6 | [ -z "$PS1" ] && return 7 | 8 | # don't put duplicate lines in the history. See bash(1) for more options 9 | # ... or force ignoredups and ignorespace 10 | HISTCONTROL=ignoredups:ignorespace 11 | 12 | # append to the history file, don't overwrite it 13 | shopt -s histappend 14 | 15 | # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) 16 | HISTSIZE=1000 17 | HISTFILESIZE=2000 18 | 19 | # check the window size after each command and, if necessary, 20 | # update the values of LINES and COLUMNS. 21 | shopt -s checkwinsize 22 | 23 | # make less more friendly for non-text input files, see lesspipe(1) 24 | [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" 25 | 26 | # set variable identifying the chroot you work in (used in the prompt below) 27 | if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then 28 | debian_chroot=$(cat /etc/debian_chroot) 29 | fi 30 | 31 | # set a fancy prompt (non-color, unless we know we "want" color) 32 | case "$TERM" in 33 | xterm-color) color_prompt=yes;; 34 | esac 35 | 36 | # uncomment for a colored prompt, if the terminal has the capability; turned 37 | # off by default to not distract the user: the focus in a terminal window 38 | # should be on the output of commands, not on the prompt 39 | #force_color_prompt=yes 40 | 41 | if [ -n "$force_color_prompt" ]; then 42 | if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then 43 | # We have color support; assume it's compliant with Ecma-48 44 | # (ISO/IEC-6429). (Lack of such support is extremely rare, and such 45 | # a case would tend to support setf rather than setaf.) 46 | color_prompt=yes 47 | else 48 | color_prompt= 49 | fi 50 | fi 51 | 52 | if [ "$color_prompt" = yes ]; then 53 | PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 54 | else 55 | PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' 56 | fi 57 | unset color_prompt force_color_prompt 58 | 59 | # If this is an xterm set the title to user@host:dir 60 | case "$TERM" in 61 | xterm*|rxvt*) 62 | PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" 63 | ;; 64 | *) 65 | ;; 66 | esac 67 | 68 | # enable color support of ls and also add handy aliases 69 | if [ -x /usr/bin/dircolors ]; then 70 | test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" 71 | alias ls='ls --color=auto' 72 | #alias dir='dir --color=auto' 73 | #alias vdir='vdir --color=auto' 74 | 75 | alias grep='grep --color=auto' 76 | alias fgrep='fgrep --color=auto' 77 | alias egrep='egrep --color=auto' 78 | fi 79 | 80 | # some more ls aliases 81 | alias ll='ls -alF' 82 | alias la='ls -A' 83 | alias l='ls -CF' 84 | 85 | # Alias definitions. 86 | # You may want to put all your additions into a separate file like 87 | # ~/.bash_aliases, instead of adding them here directly. 88 | # See /usr/share/doc/bash-doc/examples in the bash-doc package. 89 | 90 | if [ -f ~/.bash_aliases ]; then 91 | . ~/.bash_aliases 92 | fi 93 | 94 | # enable programmable completion features (you don't need to enable 95 | # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 96 | # sources /etc/bash.bashrc). 97 | #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then 98 | # . /etc/bash_completion 99 | #fi 100 | alias systemctl='python3 /usr/local/share/systemctl3.py' 101 | 102 | echo "This docker image contains the following XRT Version(s):" 103 | ls /opt/xilinx/xrt_versions | grep xrt | cut -d"_" -f2 104 | 105 | ls /opt/xilinx/shell>/dev/null 106 | if [[ $? == 0 ]]; then 107 | echo "This docker image contains the following Shell Package(s):" 108 | ls /opt/xilinx/shell | grep xilinx 109 | else 110 | echo "This docker image does not contain any Shell Packages" 111 | fi 112 | -------------------------------------------------------------------------------- /Dockerfiles/2023.1/ubuntu-22.04/.bashrc: -------------------------------------------------------------------------------- 1 | # ~/.bashrc: executed by bash(1) for non-login shells. 2 | # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 3 | # for examples 4 | 5 | # If not running interactively, don't do anything 6 | [ -z "$PS1" ] && return 7 | 8 | # don't put duplicate lines in the history. See bash(1) for more options 9 | # ... or force ignoredups and ignorespace 10 | HISTCONTROL=ignoredups:ignorespace 11 | 12 | # append to the history file, don't overwrite it 13 | shopt -s histappend 14 | 15 | # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) 16 | HISTSIZE=1000 17 | HISTFILESIZE=2000 18 | 19 | # check the window size after each command and, if necessary, 20 | # update the values of LINES and COLUMNS. 21 | shopt -s checkwinsize 22 | 23 | # make less more friendly for non-text input files, see lesspipe(1) 24 | [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" 25 | 26 | # set variable identifying the chroot you work in (used in the prompt below) 27 | if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then 28 | debian_chroot=$(cat /etc/debian_chroot) 29 | fi 30 | 31 | # set a fancy prompt (non-color, unless we know we "want" color) 32 | case "$TERM" in 33 | xterm-color) color_prompt=yes;; 34 | esac 35 | 36 | # uncomment for a colored prompt, if the terminal has the capability; turned 37 | # off by default to not distract the user: the focus in a terminal window 38 | # should be on the output of commands, not on the prompt 39 | #force_color_prompt=yes 40 | 41 | if [ -n "$force_color_prompt" ]; then 42 | if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then 43 | # We have color support; assume it's compliant with Ecma-48 44 | # (ISO/IEC-6429). (Lack of such support is extremely rare, and such 45 | # a case would tend to support setf rather than setaf.) 46 | color_prompt=yes 47 | else 48 | color_prompt= 49 | fi 50 | fi 51 | 52 | if [ "$color_prompt" = yes ]; then 53 | PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 54 | else 55 | PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' 56 | fi 57 | unset color_prompt force_color_prompt 58 | 59 | # If this is an xterm set the title to user@host:dir 60 | case "$TERM" in 61 | xterm*|rxvt*) 62 | PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" 63 | ;; 64 | *) 65 | ;; 66 | esac 67 | 68 | # enable color support of ls and also add handy aliases 69 | if [ -x /usr/bin/dircolors ]; then 70 | test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" 71 | alias ls='ls --color=auto' 72 | #alias dir='dir --color=auto' 73 | #alias vdir='vdir --color=auto' 74 | 75 | alias grep='grep --color=auto' 76 | alias fgrep='fgrep --color=auto' 77 | alias egrep='egrep --color=auto' 78 | fi 79 | 80 | # some more ls aliases 81 | alias ll='ls -alF' 82 | alias la='ls -A' 83 | alias l='ls -CF' 84 | 85 | # Alias definitions. 86 | # You may want to put all your additions into a separate file like 87 | # ~/.bash_aliases, instead of adding them here directly. 88 | # See /usr/share/doc/bash-doc/examples in the bash-doc package. 89 | 90 | if [ -f ~/.bash_aliases ]; then 91 | . ~/.bash_aliases 92 | fi 93 | 94 | # enable programmable completion features (you don't need to enable 95 | # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 96 | # sources /etc/bash.bashrc). 97 | #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then 98 | # . /etc/bash_completion 99 | #fi 100 | alias systemctl='python3 /usr/local/share/systemctl3.py' 101 | 102 | echo "This docker image contains the following XRT Version(s):" 103 | ls /opt/xilinx/xrt_versions | grep xrt | cut -d"_" -f2 104 | 105 | ls /opt/xilinx/shell>/dev/null 106 | if [[ $? == 0 ]]; then 107 | echo "This docker image contains the following Shell Package(s):" 108 | ls /opt/xilinx/shell | grep xilinx 109 | else 110 | echo "This docker image does not contain any Shell Packages" 111 | fi 112 | -------------------------------------------------------------------------------- /Dockerfiles/2022.1_noshell/centos-7/.bashrc: -------------------------------------------------------------------------------- 1 | # ~/.bashrc: executed by bash(1) for non-login shells. 2 | # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 3 | # for examples 4 | 5 | # If not running interactively, don't do anything 6 | [ -z "$PS1" ] && return 7 | 8 | # don't put duplicate lines in the history. See bash(1) for more options 9 | # ... or force ignoredups and ignorespace 10 | HISTCONTROL=ignoredups:ignorespace 11 | 12 | # append to the history file, don't overwrite it 13 | shopt -s histappend 14 | 15 | # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) 16 | HISTSIZE=1000 17 | HISTFILESIZE=2000 18 | 19 | # check the window size after each command and, if necessary, 20 | # update the values of LINES and COLUMNS. 21 | shopt -s checkwinsize 22 | 23 | # make less more friendly for non-text input files, see lesspipe(1) 24 | [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" 25 | 26 | # set variable identifying the chroot you work in (used in the prompt below) 27 | if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then 28 | debian_chroot=$(cat /etc/debian_chroot) 29 | fi 30 | 31 | # set a fancy prompt (non-color, unless we know we "want" color) 32 | case "$TERM" in 33 | xterm-color) color_prompt=yes;; 34 | esac 35 | 36 | # uncomment for a colored prompt, if the terminal has the capability; turned 37 | # off by default to not distract the user: the focus in a terminal window 38 | # should be on the output of commands, not on the prompt 39 | #force_color_prompt=yes 40 | 41 | if [ -n "$force_color_prompt" ]; then 42 | if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then 43 | # We have color support; assume it's compliant with Ecma-48 44 | # (ISO/IEC-6429). (Lack of such support is extremely rare, and such 45 | # a case would tend to support setf rather than setaf.) 46 | color_prompt=yes 47 | else 48 | color_prompt= 49 | fi 50 | fi 51 | 52 | if [ "$color_prompt" = yes ]; then 53 | PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 54 | else 55 | PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' 56 | fi 57 | unset color_prompt force_color_prompt 58 | 59 | # If this is an xterm set the title to user@host:dir 60 | case "$TERM" in 61 | xterm*|rxvt*) 62 | PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" 63 | ;; 64 | *) 65 | ;; 66 | esac 67 | 68 | # enable color support of ls and also add handy aliases 69 | if [ -x /usr/bin/dircolors ]; then 70 | test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" 71 | alias ls='ls --color=auto' 72 | #alias dir='dir --color=auto' 73 | #alias vdir='vdir --color=auto' 74 | 75 | alias grep='grep --color=auto' 76 | alias fgrep='fgrep --color=auto' 77 | alias egrep='egrep --color=auto' 78 | fi 79 | 80 | # some more ls aliases 81 | alias ll='ls -alF' 82 | alias la='ls -A' 83 | alias l='ls -CF' 84 | 85 | # Alias definitions. 86 | # You may want to put all your additions into a separate file like 87 | # ~/.bash_aliases, instead of adding them here directly. 88 | # See /usr/share/doc/bash-doc/examples in the bash-doc package. 89 | 90 | if [ -f ~/.bash_aliases ]; then 91 | . ~/.bash_aliases 92 | fi 93 | 94 | # enable programmable completion features (you don't need to enable 95 | # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 96 | # sources /etc/bash.bashrc). 97 | #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then 98 | # . /etc/bash_completion 99 | #fi 100 | alias systemctl='python3 /usr/local/share/systemctl3.py' 101 | 102 | echo "This docker image contains the following XRT Version(s):" 103 | ls /opt/xilinx/xrt_versions | grep xrt | cut -d"_" -f2 104 | 105 | ls /opt/xilinx/shell>/dev/null 106 | if [[ $? == 0 ]]; then 107 | echo "This docker image contains the following Shell Package(s):" 108 | ls /opt/xilinx/shell | grep xilinx 109 | else 110 | echo "This docker image does not contain any Shell Packages" 111 | fi 112 | -------------------------------------------------------------------------------- /Dockerfiles/2022.2_noshell/centos-7/.bashrc: -------------------------------------------------------------------------------- 1 | # ~/.bashrc: executed by bash(1) for non-login shells. 2 | # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 3 | # for examples 4 | 5 | # If not running interactively, don't do anything 6 | [ -z "$PS1" ] && return 7 | 8 | # don't put duplicate lines in the history. See bash(1) for more options 9 | # ... or force ignoredups and ignorespace 10 | HISTCONTROL=ignoredups:ignorespace 11 | 12 | # append to the history file, don't overwrite it 13 | shopt -s histappend 14 | 15 | # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) 16 | HISTSIZE=1000 17 | HISTFILESIZE=2000 18 | 19 | # check the window size after each command and, if necessary, 20 | # update the values of LINES and COLUMNS. 21 | shopt -s checkwinsize 22 | 23 | # make less more friendly for non-text input files, see lesspipe(1) 24 | [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" 25 | 26 | # set variable identifying the chroot you work in (used in the prompt below) 27 | if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then 28 | debian_chroot=$(cat /etc/debian_chroot) 29 | fi 30 | 31 | # set a fancy prompt (non-color, unless we know we "want" color) 32 | case "$TERM" in 33 | xterm-color) color_prompt=yes;; 34 | esac 35 | 36 | # uncomment for a colored prompt, if the terminal has the capability; turned 37 | # off by default to not distract the user: the focus in a terminal window 38 | # should be on the output of commands, not on the prompt 39 | #force_color_prompt=yes 40 | 41 | if [ -n "$force_color_prompt" ]; then 42 | if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then 43 | # We have color support; assume it's compliant with Ecma-48 44 | # (ISO/IEC-6429). (Lack of such support is extremely rare, and such 45 | # a case would tend to support setf rather than setaf.) 46 | color_prompt=yes 47 | else 48 | color_prompt= 49 | fi 50 | fi 51 | 52 | if [ "$color_prompt" = yes ]; then 53 | PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 54 | else 55 | PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' 56 | fi 57 | unset color_prompt force_color_prompt 58 | 59 | # If this is an xterm set the title to user@host:dir 60 | case "$TERM" in 61 | xterm*|rxvt*) 62 | PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" 63 | ;; 64 | *) 65 | ;; 66 | esac 67 | 68 | # enable color support of ls and also add handy aliases 69 | if [ -x /usr/bin/dircolors ]; then 70 | test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" 71 | alias ls='ls --color=auto' 72 | #alias dir='dir --color=auto' 73 | #alias vdir='vdir --color=auto' 74 | 75 | alias grep='grep --color=auto' 76 | alias fgrep='fgrep --color=auto' 77 | alias egrep='egrep --color=auto' 78 | fi 79 | 80 | # some more ls aliases 81 | alias ll='ls -alF' 82 | alias la='ls -A' 83 | alias l='ls -CF' 84 | 85 | # Alias definitions. 86 | # You may want to put all your additions into a separate file like 87 | # ~/.bash_aliases, instead of adding them here directly. 88 | # See /usr/share/doc/bash-doc/examples in the bash-doc package. 89 | 90 | if [ -f ~/.bash_aliases ]; then 91 | . ~/.bash_aliases 92 | fi 93 | 94 | # enable programmable completion features (you don't need to enable 95 | # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 96 | # sources /etc/bash.bashrc). 97 | #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then 98 | # . /etc/bash_completion 99 | #fi 100 | alias systemctl='python3 /usr/local/share/systemctl3.py' 101 | 102 | echo "This docker image contains the following XRT Version(s):" 103 | ls /opt/xilinx/xrt_versions | grep xrt | cut -d"_" -f2 104 | 105 | ls /opt/xilinx/shell>/dev/null 106 | if [[ $? == 0 ]]; then 107 | echo "This docker image contains the following Shell Package(s):" 108 | ls /opt/xilinx/shell | grep xilinx 109 | else 110 | echo "This docker image does not contain any Shell Packages" 111 | fi 112 | -------------------------------------------------------------------------------- /Dockerfiles/2023.1_noshell/centos-7/.bashrc: -------------------------------------------------------------------------------- 1 | # ~/.bashrc: executed by bash(1) for non-login shells. 2 | # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 3 | # for examples 4 | 5 | # If not running interactively, don't do anything 6 | [ -z "$PS1" ] && return 7 | 8 | # don't put duplicate lines in the history. See bash(1) for more options 9 | # ... or force ignoredups and ignorespace 10 | HISTCONTROL=ignoredups:ignorespace 11 | 12 | # append to the history file, don't overwrite it 13 | shopt -s histappend 14 | 15 | # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) 16 | HISTSIZE=1000 17 | HISTFILESIZE=2000 18 | 19 | # check the window size after each command and, if necessary, 20 | # update the values of LINES and COLUMNS. 21 | shopt -s checkwinsize 22 | 23 | # make less more friendly for non-text input files, see lesspipe(1) 24 | [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" 25 | 26 | # set variable identifying the chroot you work in (used in the prompt below) 27 | if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then 28 | debian_chroot=$(cat /etc/debian_chroot) 29 | fi 30 | 31 | # set a fancy prompt (non-color, unless we know we "want" color) 32 | case "$TERM" in 33 | xterm-color) color_prompt=yes;; 34 | esac 35 | 36 | # uncomment for a colored prompt, if the terminal has the capability; turned 37 | # off by default to not distract the user: the focus in a terminal window 38 | # should be on the output of commands, not on the prompt 39 | #force_color_prompt=yes 40 | 41 | if [ -n "$force_color_prompt" ]; then 42 | if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then 43 | # We have color support; assume it's compliant with Ecma-48 44 | # (ISO/IEC-6429). (Lack of such support is extremely rare, and such 45 | # a case would tend to support setf rather than setaf.) 46 | color_prompt=yes 47 | else 48 | color_prompt= 49 | fi 50 | fi 51 | 52 | if [ "$color_prompt" = yes ]; then 53 | PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 54 | else 55 | PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' 56 | fi 57 | unset color_prompt force_color_prompt 58 | 59 | # If this is an xterm set the title to user@host:dir 60 | case "$TERM" in 61 | xterm*|rxvt*) 62 | PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" 63 | ;; 64 | *) 65 | ;; 66 | esac 67 | 68 | # enable color support of ls and also add handy aliases 69 | if [ -x /usr/bin/dircolors ]; then 70 | test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" 71 | alias ls='ls --color=auto' 72 | #alias dir='dir --color=auto' 73 | #alias vdir='vdir --color=auto' 74 | 75 | alias grep='grep --color=auto' 76 | alias fgrep='fgrep --color=auto' 77 | alias egrep='egrep --color=auto' 78 | fi 79 | 80 | # some more ls aliases 81 | alias ll='ls -alF' 82 | alias la='ls -A' 83 | alias l='ls -CF' 84 | 85 | # Alias definitions. 86 | # You may want to put all your additions into a separate file like 87 | # ~/.bash_aliases, instead of adding them here directly. 88 | # See /usr/share/doc/bash-doc/examples in the bash-doc package. 89 | 90 | if [ -f ~/.bash_aliases ]; then 91 | . ~/.bash_aliases 92 | fi 93 | 94 | # enable programmable completion features (you don't need to enable 95 | # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 96 | # sources /etc/bash.bashrc). 97 | #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then 98 | # . /etc/bash_completion 99 | #fi 100 | alias systemctl='python3 /usr/local/share/systemctl3.py' 101 | 102 | echo "This docker image contains the following XRT Version(s):" 103 | ls /opt/xilinx/xrt_versions | grep xrt | cut -d"_" -f2 104 | 105 | ls /opt/xilinx/shell>/dev/null 106 | if [[ $? == 0 ]]; then 107 | echo "This docker image contains the following Shell Package(s):" 108 | ls /opt/xilinx/shell | grep xilinx 109 | else 110 | echo "This docker image does not contain any Shell Packages" 111 | fi 112 | -------------------------------------------------------------------------------- /Dockerfiles/2022.1_noshell/ubuntu-18.04/.bashrc: -------------------------------------------------------------------------------- 1 | # ~/.bashrc: executed by bash(1) for non-login shells. 2 | # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 3 | # for examples 4 | 5 | # If not running interactively, don't do anything 6 | [ -z "$PS1" ] && return 7 | 8 | # don't put duplicate lines in the history. See bash(1) for more options 9 | # ... or force ignoredups and ignorespace 10 | HISTCONTROL=ignoredups:ignorespace 11 | 12 | # append to the history file, don't overwrite it 13 | shopt -s histappend 14 | 15 | # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) 16 | HISTSIZE=1000 17 | HISTFILESIZE=2000 18 | 19 | # check the window size after each command and, if necessary, 20 | # update the values of LINES and COLUMNS. 21 | shopt -s checkwinsize 22 | 23 | # make less more friendly for non-text input files, see lesspipe(1) 24 | [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" 25 | 26 | # set variable identifying the chroot you work in (used in the prompt below) 27 | if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then 28 | debian_chroot=$(cat /etc/debian_chroot) 29 | fi 30 | 31 | # set a fancy prompt (non-color, unless we know we "want" color) 32 | case "$TERM" in 33 | xterm-color) color_prompt=yes;; 34 | esac 35 | 36 | # uncomment for a colored prompt, if the terminal has the capability; turned 37 | # off by default to not distract the user: the focus in a terminal window 38 | # should be on the output of commands, not on the prompt 39 | #force_color_prompt=yes 40 | 41 | if [ -n "$force_color_prompt" ]; then 42 | if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then 43 | # We have color support; assume it's compliant with Ecma-48 44 | # (ISO/IEC-6429). (Lack of such support is extremely rare, and such 45 | # a case would tend to support setf rather than setaf.) 46 | color_prompt=yes 47 | else 48 | color_prompt= 49 | fi 50 | fi 51 | 52 | if [ "$color_prompt" = yes ]; then 53 | PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 54 | else 55 | PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' 56 | fi 57 | unset color_prompt force_color_prompt 58 | 59 | # If this is an xterm set the title to user@host:dir 60 | case "$TERM" in 61 | xterm*|rxvt*) 62 | PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" 63 | ;; 64 | *) 65 | ;; 66 | esac 67 | 68 | # enable color support of ls and also add handy aliases 69 | if [ -x /usr/bin/dircolors ]; then 70 | test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" 71 | alias ls='ls --color=auto' 72 | #alias dir='dir --color=auto' 73 | #alias vdir='vdir --color=auto' 74 | 75 | alias grep='grep --color=auto' 76 | alias fgrep='fgrep --color=auto' 77 | alias egrep='egrep --color=auto' 78 | fi 79 | 80 | # some more ls aliases 81 | alias ll='ls -alF' 82 | alias la='ls -A' 83 | alias l='ls -CF' 84 | 85 | # Alias definitions. 86 | # You may want to put all your additions into a separate file like 87 | # ~/.bash_aliases, instead of adding them here directly. 88 | # See /usr/share/doc/bash-doc/examples in the bash-doc package. 89 | 90 | if [ -f ~/.bash_aliases ]; then 91 | . ~/.bash_aliases 92 | fi 93 | 94 | # enable programmable completion features (you don't need to enable 95 | # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 96 | # sources /etc/bash.bashrc). 97 | #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then 98 | # . /etc/bash_completion 99 | #fi 100 | alias systemctl='python3 /usr/local/share/systemctl3.py' 101 | 102 | echo "This docker image contains the following XRT Version(s):" 103 | ls /opt/xilinx/xrt_versions | grep xrt | cut -d"_" -f2 104 | 105 | ls /opt/xilinx/shell>/dev/null 106 | if [[ $? == 0 ]]; then 107 | echo "This docker image contains the following Shell Package(s):" 108 | ls /opt/xilinx/shell | grep xilinx 109 | else 110 | echo "This docker image does not contain any Shell Packages" 111 | fi 112 | -------------------------------------------------------------------------------- /Dockerfiles/2022.1_noshell/ubuntu-20.04/.bashrc: -------------------------------------------------------------------------------- 1 | # ~/.bashrc: executed by bash(1) for non-login shells. 2 | # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 3 | # for examples 4 | 5 | # If not running interactively, don't do anything 6 | [ -z "$PS1" ] && return 7 | 8 | # don't put duplicate lines in the history. See bash(1) for more options 9 | # ... or force ignoredups and ignorespace 10 | HISTCONTROL=ignoredups:ignorespace 11 | 12 | # append to the history file, don't overwrite it 13 | shopt -s histappend 14 | 15 | # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) 16 | HISTSIZE=1000 17 | HISTFILESIZE=2000 18 | 19 | # check the window size after each command and, if necessary, 20 | # update the values of LINES and COLUMNS. 21 | shopt -s checkwinsize 22 | 23 | # make less more friendly for non-text input files, see lesspipe(1) 24 | [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" 25 | 26 | # set variable identifying the chroot you work in (used in the prompt below) 27 | if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then 28 | debian_chroot=$(cat /etc/debian_chroot) 29 | fi 30 | 31 | # set a fancy prompt (non-color, unless we know we "want" color) 32 | case "$TERM" in 33 | xterm-color) color_prompt=yes;; 34 | esac 35 | 36 | # uncomment for a colored prompt, if the terminal has the capability; turned 37 | # off by default to not distract the user: the focus in a terminal window 38 | # should be on the output of commands, not on the prompt 39 | #force_color_prompt=yes 40 | 41 | if [ -n "$force_color_prompt" ]; then 42 | if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then 43 | # We have color support; assume it's compliant with Ecma-48 44 | # (ISO/IEC-6429). (Lack of such support is extremely rare, and such 45 | # a case would tend to support setf rather than setaf.) 46 | color_prompt=yes 47 | else 48 | color_prompt= 49 | fi 50 | fi 51 | 52 | if [ "$color_prompt" = yes ]; then 53 | PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 54 | else 55 | PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' 56 | fi 57 | unset color_prompt force_color_prompt 58 | 59 | # If this is an xterm set the title to user@host:dir 60 | case "$TERM" in 61 | xterm*|rxvt*) 62 | PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" 63 | ;; 64 | *) 65 | ;; 66 | esac 67 | 68 | # enable color support of ls and also add handy aliases 69 | if [ -x /usr/bin/dircolors ]; then 70 | test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" 71 | alias ls='ls --color=auto' 72 | #alias dir='dir --color=auto' 73 | #alias vdir='vdir --color=auto' 74 | 75 | alias grep='grep --color=auto' 76 | alias fgrep='fgrep --color=auto' 77 | alias egrep='egrep --color=auto' 78 | fi 79 | 80 | # some more ls aliases 81 | alias ll='ls -alF' 82 | alias la='ls -A' 83 | alias l='ls -CF' 84 | 85 | # Alias definitions. 86 | # You may want to put all your additions into a separate file like 87 | # ~/.bash_aliases, instead of adding them here directly. 88 | # See /usr/share/doc/bash-doc/examples in the bash-doc package. 89 | 90 | if [ -f ~/.bash_aliases ]; then 91 | . ~/.bash_aliases 92 | fi 93 | 94 | # enable programmable completion features (you don't need to enable 95 | # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 96 | # sources /etc/bash.bashrc). 97 | #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then 98 | # . /etc/bash_completion 99 | #fi 100 | alias systemctl='python3 /usr/local/share/systemctl3.py' 101 | 102 | echo "This docker image contains the following XRT Version(s):" 103 | ls /opt/xilinx/xrt_versions | grep xrt | cut -d"_" -f2 104 | 105 | ls /opt/xilinx/shell>/dev/null 106 | if [[ $? == 0 ]]; then 107 | echo "This docker image contains the following Shell Package(s):" 108 | ls /opt/xilinx/shell | grep xilinx 109 | else 110 | echo "This docker image does not contain any Shell Packages" 111 | fi 112 | -------------------------------------------------------------------------------- /Dockerfiles/2022.2_noshell/ubuntu-18.04/.bashrc: -------------------------------------------------------------------------------- 1 | # ~/.bashrc: executed by bash(1) for non-login shells. 2 | # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 3 | # for examples 4 | 5 | # If not running interactively, don't do anything 6 | [ -z "$PS1" ] && return 7 | 8 | # don't put duplicate lines in the history. See bash(1) for more options 9 | # ... or force ignoredups and ignorespace 10 | HISTCONTROL=ignoredups:ignorespace 11 | 12 | # append to the history file, don't overwrite it 13 | shopt -s histappend 14 | 15 | # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) 16 | HISTSIZE=1000 17 | HISTFILESIZE=2000 18 | 19 | # check the window size after each command and, if necessary, 20 | # update the values of LINES and COLUMNS. 21 | shopt -s checkwinsize 22 | 23 | # make less more friendly for non-text input files, see lesspipe(1) 24 | [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" 25 | 26 | # set variable identifying the chroot you work in (used in the prompt below) 27 | if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then 28 | debian_chroot=$(cat /etc/debian_chroot) 29 | fi 30 | 31 | # set a fancy prompt (non-color, unless we know we "want" color) 32 | case "$TERM" in 33 | xterm-color) color_prompt=yes;; 34 | esac 35 | 36 | # uncomment for a colored prompt, if the terminal has the capability; turned 37 | # off by default to not distract the user: the focus in a terminal window 38 | # should be on the output of commands, not on the prompt 39 | #force_color_prompt=yes 40 | 41 | if [ -n "$force_color_prompt" ]; then 42 | if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then 43 | # We have color support; assume it's compliant with Ecma-48 44 | # (ISO/IEC-6429). (Lack of such support is extremely rare, and such 45 | # a case would tend to support setf rather than setaf.) 46 | color_prompt=yes 47 | else 48 | color_prompt= 49 | fi 50 | fi 51 | 52 | if [ "$color_prompt" = yes ]; then 53 | PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 54 | else 55 | PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' 56 | fi 57 | unset color_prompt force_color_prompt 58 | 59 | # If this is an xterm set the title to user@host:dir 60 | case "$TERM" in 61 | xterm*|rxvt*) 62 | PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" 63 | ;; 64 | *) 65 | ;; 66 | esac 67 | 68 | # enable color support of ls and also add handy aliases 69 | if [ -x /usr/bin/dircolors ]; then 70 | test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" 71 | alias ls='ls --color=auto' 72 | #alias dir='dir --color=auto' 73 | #alias vdir='vdir --color=auto' 74 | 75 | alias grep='grep --color=auto' 76 | alias fgrep='fgrep --color=auto' 77 | alias egrep='egrep --color=auto' 78 | fi 79 | 80 | # some more ls aliases 81 | alias ll='ls -alF' 82 | alias la='ls -A' 83 | alias l='ls -CF' 84 | 85 | # Alias definitions. 86 | # You may want to put all your additions into a separate file like 87 | # ~/.bash_aliases, instead of adding them here directly. 88 | # See /usr/share/doc/bash-doc/examples in the bash-doc package. 89 | 90 | if [ -f ~/.bash_aliases ]; then 91 | . ~/.bash_aliases 92 | fi 93 | 94 | # enable programmable completion features (you don't need to enable 95 | # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 96 | # sources /etc/bash.bashrc). 97 | #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then 98 | # . /etc/bash_completion 99 | #fi 100 | alias systemctl='python3 /usr/local/share/systemctl3.py' 101 | 102 | echo "This docker image contains the following XRT Version(s):" 103 | ls /opt/xilinx/xrt_versions | grep xrt | cut -d"_" -f2 104 | 105 | ls /opt/xilinx/shell>/dev/null 106 | if [[ $? == 0 ]]; then 107 | echo "This docker image contains the following Shell Package(s):" 108 | ls /opt/xilinx/shell | grep xilinx 109 | else 110 | echo "This docker image does not contain any Shell Packages" 111 | fi 112 | -------------------------------------------------------------------------------- /Dockerfiles/2022.2_noshell/ubuntu-20.04/.bashrc: -------------------------------------------------------------------------------- 1 | # ~/.bashrc: executed by bash(1) for non-login shells. 2 | # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 3 | # for examples 4 | 5 | # If not running interactively, don't do anything 6 | [ -z "$PS1" ] && return 7 | 8 | # don't put duplicate lines in the history. See bash(1) for more options 9 | # ... or force ignoredups and ignorespace 10 | HISTCONTROL=ignoredups:ignorespace 11 | 12 | # append to the history file, don't overwrite it 13 | shopt -s histappend 14 | 15 | # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) 16 | HISTSIZE=1000 17 | HISTFILESIZE=2000 18 | 19 | # check the window size after each command and, if necessary, 20 | # update the values of LINES and COLUMNS. 21 | shopt -s checkwinsize 22 | 23 | # make less more friendly for non-text input files, see lesspipe(1) 24 | [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" 25 | 26 | # set variable identifying the chroot you work in (used in the prompt below) 27 | if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then 28 | debian_chroot=$(cat /etc/debian_chroot) 29 | fi 30 | 31 | # set a fancy prompt (non-color, unless we know we "want" color) 32 | case "$TERM" in 33 | xterm-color) color_prompt=yes;; 34 | esac 35 | 36 | # uncomment for a colored prompt, if the terminal has the capability; turned 37 | # off by default to not distract the user: the focus in a terminal window 38 | # should be on the output of commands, not on the prompt 39 | #force_color_prompt=yes 40 | 41 | if [ -n "$force_color_prompt" ]; then 42 | if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then 43 | # We have color support; assume it's compliant with Ecma-48 44 | # (ISO/IEC-6429). (Lack of such support is extremely rare, and such 45 | # a case would tend to support setf rather than setaf.) 46 | color_prompt=yes 47 | else 48 | color_prompt= 49 | fi 50 | fi 51 | 52 | if [ "$color_prompt" = yes ]; then 53 | PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 54 | else 55 | PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' 56 | fi 57 | unset color_prompt force_color_prompt 58 | 59 | # If this is an xterm set the title to user@host:dir 60 | case "$TERM" in 61 | xterm*|rxvt*) 62 | PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" 63 | ;; 64 | *) 65 | ;; 66 | esac 67 | 68 | # enable color support of ls and also add handy aliases 69 | if [ -x /usr/bin/dircolors ]; then 70 | test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" 71 | alias ls='ls --color=auto' 72 | #alias dir='dir --color=auto' 73 | #alias vdir='vdir --color=auto' 74 | 75 | alias grep='grep --color=auto' 76 | alias fgrep='fgrep --color=auto' 77 | alias egrep='egrep --color=auto' 78 | fi 79 | 80 | # some more ls aliases 81 | alias ll='ls -alF' 82 | alias la='ls -A' 83 | alias l='ls -CF' 84 | 85 | # Alias definitions. 86 | # You may want to put all your additions into a separate file like 87 | # ~/.bash_aliases, instead of adding them here directly. 88 | # See /usr/share/doc/bash-doc/examples in the bash-doc package. 89 | 90 | if [ -f ~/.bash_aliases ]; then 91 | . ~/.bash_aliases 92 | fi 93 | 94 | # enable programmable completion features (you don't need to enable 95 | # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 96 | # sources /etc/bash.bashrc). 97 | #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then 98 | # . /etc/bash_completion 99 | #fi 100 | alias systemctl='python3 /usr/local/share/systemctl3.py' 101 | 102 | echo "This docker image contains the following XRT Version(s):" 103 | ls /opt/xilinx/xrt_versions | grep xrt | cut -d"_" -f2 104 | 105 | ls /opt/xilinx/shell>/dev/null 106 | if [[ $? == 0 ]]; then 107 | echo "This docker image contains the following Shell Package(s):" 108 | ls /opt/xilinx/shell | grep xilinx 109 | else 110 | echo "This docker image does not contain any Shell Packages" 111 | fi 112 | -------------------------------------------------------------------------------- /Dockerfiles/2022.2_noshell/ubuntu-22.04/.bashrc: -------------------------------------------------------------------------------- 1 | # ~/.bashrc: executed by bash(1) for non-login shells. 2 | # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 3 | # for examples 4 | 5 | # If not running interactively, don't do anything 6 | [ -z "$PS1" ] && return 7 | 8 | # don't put duplicate lines in the history. See bash(1) for more options 9 | # ... or force ignoredups and ignorespace 10 | HISTCONTROL=ignoredups:ignorespace 11 | 12 | # append to the history file, don't overwrite it 13 | shopt -s histappend 14 | 15 | # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) 16 | HISTSIZE=1000 17 | HISTFILESIZE=2000 18 | 19 | # check the window size after each command and, if necessary, 20 | # update the values of LINES and COLUMNS. 21 | shopt -s checkwinsize 22 | 23 | # make less more friendly for non-text input files, see lesspipe(1) 24 | [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" 25 | 26 | # set variable identifying the chroot you work in (used in the prompt below) 27 | if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then 28 | debian_chroot=$(cat /etc/debian_chroot) 29 | fi 30 | 31 | # set a fancy prompt (non-color, unless we know we "want" color) 32 | case "$TERM" in 33 | xterm-color) color_prompt=yes;; 34 | esac 35 | 36 | # uncomment for a colored prompt, if the terminal has the capability; turned 37 | # off by default to not distract the user: the focus in a terminal window 38 | # should be on the output of commands, not on the prompt 39 | #force_color_prompt=yes 40 | 41 | if [ -n "$force_color_prompt" ]; then 42 | if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then 43 | # We have color support; assume it's compliant with Ecma-48 44 | # (ISO/IEC-6429). (Lack of such support is extremely rare, and such 45 | # a case would tend to support setf rather than setaf.) 46 | color_prompt=yes 47 | else 48 | color_prompt= 49 | fi 50 | fi 51 | 52 | if [ "$color_prompt" = yes ]; then 53 | PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 54 | else 55 | PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' 56 | fi 57 | unset color_prompt force_color_prompt 58 | 59 | # If this is an xterm set the title to user@host:dir 60 | case "$TERM" in 61 | xterm*|rxvt*) 62 | PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" 63 | ;; 64 | *) 65 | ;; 66 | esac 67 | 68 | # enable color support of ls and also add handy aliases 69 | if [ -x /usr/bin/dircolors ]; then 70 | test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" 71 | alias ls='ls --color=auto' 72 | #alias dir='dir --color=auto' 73 | #alias vdir='vdir --color=auto' 74 | 75 | alias grep='grep --color=auto' 76 | alias fgrep='fgrep --color=auto' 77 | alias egrep='egrep --color=auto' 78 | fi 79 | 80 | # some more ls aliases 81 | alias ll='ls -alF' 82 | alias la='ls -A' 83 | alias l='ls -CF' 84 | 85 | # Alias definitions. 86 | # You may want to put all your additions into a separate file like 87 | # ~/.bash_aliases, instead of adding them here directly. 88 | # See /usr/share/doc/bash-doc/examples in the bash-doc package. 89 | 90 | if [ -f ~/.bash_aliases ]; then 91 | . ~/.bash_aliases 92 | fi 93 | 94 | # enable programmable completion features (you don't need to enable 95 | # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 96 | # sources /etc/bash.bashrc). 97 | #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then 98 | # . /etc/bash_completion 99 | #fi 100 | alias systemctl='python3 /usr/local/share/systemctl3.py' 101 | 102 | echo "This docker image contains the following XRT Version(s):" 103 | ls /opt/xilinx/xrt_versions | grep xrt | cut -d"_" -f2 104 | 105 | ls /opt/xilinx/shell>/dev/null 106 | if [[ $? == 0 ]]; then 107 | echo "This docker image contains the following Shell Package(s):" 108 | ls /opt/xilinx/shell | grep xilinx 109 | else 110 | echo "This docker image does not contain any Shell Packages" 111 | fi 112 | -------------------------------------------------------------------------------- /Dockerfiles/2023.1_noshell/ubuntu-18.04/.bashrc: -------------------------------------------------------------------------------- 1 | # ~/.bashrc: executed by bash(1) for non-login shells. 2 | # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 3 | # for examples 4 | 5 | # If not running interactively, don't do anything 6 | [ -z "$PS1" ] && return 7 | 8 | # don't put duplicate lines in the history. See bash(1) for more options 9 | # ... or force ignoredups and ignorespace 10 | HISTCONTROL=ignoredups:ignorespace 11 | 12 | # append to the history file, don't overwrite it 13 | shopt -s histappend 14 | 15 | # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) 16 | HISTSIZE=1000 17 | HISTFILESIZE=2000 18 | 19 | # check the window size after each command and, if necessary, 20 | # update the values of LINES and COLUMNS. 21 | shopt -s checkwinsize 22 | 23 | # make less more friendly for non-text input files, see lesspipe(1) 24 | [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" 25 | 26 | # set variable identifying the chroot you work in (used in the prompt below) 27 | if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then 28 | debian_chroot=$(cat /etc/debian_chroot) 29 | fi 30 | 31 | # set a fancy prompt (non-color, unless we know we "want" color) 32 | case "$TERM" in 33 | xterm-color) color_prompt=yes;; 34 | esac 35 | 36 | # uncomment for a colored prompt, if the terminal has the capability; turned 37 | # off by default to not distract the user: the focus in a terminal window 38 | # should be on the output of commands, not on the prompt 39 | #force_color_prompt=yes 40 | 41 | if [ -n "$force_color_prompt" ]; then 42 | if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then 43 | # We have color support; assume it's compliant with Ecma-48 44 | # (ISO/IEC-6429). (Lack of such support is extremely rare, and such 45 | # a case would tend to support setf rather than setaf.) 46 | color_prompt=yes 47 | else 48 | color_prompt= 49 | fi 50 | fi 51 | 52 | if [ "$color_prompt" = yes ]; then 53 | PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 54 | else 55 | PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' 56 | fi 57 | unset color_prompt force_color_prompt 58 | 59 | # If this is an xterm set the title to user@host:dir 60 | case "$TERM" in 61 | xterm*|rxvt*) 62 | PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" 63 | ;; 64 | *) 65 | ;; 66 | esac 67 | 68 | # enable color support of ls and also add handy aliases 69 | if [ -x /usr/bin/dircolors ]; then 70 | test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" 71 | alias ls='ls --color=auto' 72 | #alias dir='dir --color=auto' 73 | #alias vdir='vdir --color=auto' 74 | 75 | alias grep='grep --color=auto' 76 | alias fgrep='fgrep --color=auto' 77 | alias egrep='egrep --color=auto' 78 | fi 79 | 80 | # some more ls aliases 81 | alias ll='ls -alF' 82 | alias la='ls -A' 83 | alias l='ls -CF' 84 | 85 | # Alias definitions. 86 | # You may want to put all your additions into a separate file like 87 | # ~/.bash_aliases, instead of adding them here directly. 88 | # See /usr/share/doc/bash-doc/examples in the bash-doc package. 89 | 90 | if [ -f ~/.bash_aliases ]; then 91 | . ~/.bash_aliases 92 | fi 93 | 94 | # enable programmable completion features (you don't need to enable 95 | # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 96 | # sources /etc/bash.bashrc). 97 | #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then 98 | # . /etc/bash_completion 99 | #fi 100 | alias systemctl='python3 /usr/local/share/systemctl3.py' 101 | 102 | echo "This docker image contains the following XRT Version(s):" 103 | ls /opt/xilinx/xrt_versions | grep xrt | cut -d"_" -f2 104 | 105 | ls /opt/xilinx/shell>/dev/null 106 | if [[ $? == 0 ]]; then 107 | echo "This docker image contains the following Shell Package(s):" 108 | ls /opt/xilinx/shell | grep xilinx 109 | else 110 | echo "This docker image does not contain any Shell Packages" 111 | fi 112 | -------------------------------------------------------------------------------- /Dockerfiles/2023.1_noshell/ubuntu-20.04/.bashrc: -------------------------------------------------------------------------------- 1 | # ~/.bashrc: executed by bash(1) for non-login shells. 2 | # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 3 | # for examples 4 | 5 | # If not running interactively, don't do anything 6 | [ -z "$PS1" ] && return 7 | 8 | # don't put duplicate lines in the history. See bash(1) for more options 9 | # ... or force ignoredups and ignorespace 10 | HISTCONTROL=ignoredups:ignorespace 11 | 12 | # append to the history file, don't overwrite it 13 | shopt -s histappend 14 | 15 | # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) 16 | HISTSIZE=1000 17 | HISTFILESIZE=2000 18 | 19 | # check the window size after each command and, if necessary, 20 | # update the values of LINES and COLUMNS. 21 | shopt -s checkwinsize 22 | 23 | # make less more friendly for non-text input files, see lesspipe(1) 24 | [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" 25 | 26 | # set variable identifying the chroot you work in (used in the prompt below) 27 | if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then 28 | debian_chroot=$(cat /etc/debian_chroot) 29 | fi 30 | 31 | # set a fancy prompt (non-color, unless we know we "want" color) 32 | case "$TERM" in 33 | xterm-color) color_prompt=yes;; 34 | esac 35 | 36 | # uncomment for a colored prompt, if the terminal has the capability; turned 37 | # off by default to not distract the user: the focus in a terminal window 38 | # should be on the output of commands, not on the prompt 39 | #force_color_prompt=yes 40 | 41 | if [ -n "$force_color_prompt" ]; then 42 | if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then 43 | # We have color support; assume it's compliant with Ecma-48 44 | # (ISO/IEC-6429). (Lack of such support is extremely rare, and such 45 | # a case would tend to support setf rather than setaf.) 46 | color_prompt=yes 47 | else 48 | color_prompt= 49 | fi 50 | fi 51 | 52 | if [ "$color_prompt" = yes ]; then 53 | PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 54 | else 55 | PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' 56 | fi 57 | unset color_prompt force_color_prompt 58 | 59 | # If this is an xterm set the title to user@host:dir 60 | case "$TERM" in 61 | xterm*|rxvt*) 62 | PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" 63 | ;; 64 | *) 65 | ;; 66 | esac 67 | 68 | # enable color support of ls and also add handy aliases 69 | if [ -x /usr/bin/dircolors ]; then 70 | test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" 71 | alias ls='ls --color=auto' 72 | #alias dir='dir --color=auto' 73 | #alias vdir='vdir --color=auto' 74 | 75 | alias grep='grep --color=auto' 76 | alias fgrep='fgrep --color=auto' 77 | alias egrep='egrep --color=auto' 78 | fi 79 | 80 | # some more ls aliases 81 | alias ll='ls -alF' 82 | alias la='ls -A' 83 | alias l='ls -CF' 84 | 85 | # Alias definitions. 86 | # You may want to put all your additions into a separate file like 87 | # ~/.bash_aliases, instead of adding them here directly. 88 | # See /usr/share/doc/bash-doc/examples in the bash-doc package. 89 | 90 | if [ -f ~/.bash_aliases ]; then 91 | . ~/.bash_aliases 92 | fi 93 | 94 | # enable programmable completion features (you don't need to enable 95 | # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 96 | # sources /etc/bash.bashrc). 97 | #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then 98 | # . /etc/bash_completion 99 | #fi 100 | alias systemctl='python3 /usr/local/share/systemctl3.py' 101 | 102 | echo "This docker image contains the following XRT Version(s):" 103 | ls /opt/xilinx/xrt_versions | grep xrt | cut -d"_" -f2 104 | 105 | ls /opt/xilinx/shell>/dev/null 106 | if [[ $? == 0 ]]; then 107 | echo "This docker image contains the following Shell Package(s):" 108 | ls /opt/xilinx/shell | grep xilinx 109 | else 110 | echo "This docker image does not contain any Shell Packages" 111 | fi 112 | -------------------------------------------------------------------------------- /Dockerfiles/2023.1_noshell/ubuntu-22.04/.bashrc: -------------------------------------------------------------------------------- 1 | # ~/.bashrc: executed by bash(1) for non-login shells. 2 | # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) 3 | # for examples 4 | 5 | # If not running interactively, don't do anything 6 | [ -z "$PS1" ] && return 7 | 8 | # don't put duplicate lines in the history. See bash(1) for more options 9 | # ... or force ignoredups and ignorespace 10 | HISTCONTROL=ignoredups:ignorespace 11 | 12 | # append to the history file, don't overwrite it 13 | shopt -s histappend 14 | 15 | # for setting history length see HISTSIZE and HISTFILESIZE in bash(1) 16 | HISTSIZE=1000 17 | HISTFILESIZE=2000 18 | 19 | # check the window size after each command and, if necessary, 20 | # update the values of LINES and COLUMNS. 21 | shopt -s checkwinsize 22 | 23 | # make less more friendly for non-text input files, see lesspipe(1) 24 | [ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" 25 | 26 | # set variable identifying the chroot you work in (used in the prompt below) 27 | if [ -z "$debian_chroot" ] && [ -r /etc/debian_chroot ]; then 28 | debian_chroot=$(cat /etc/debian_chroot) 29 | fi 30 | 31 | # set a fancy prompt (non-color, unless we know we "want" color) 32 | case "$TERM" in 33 | xterm-color) color_prompt=yes;; 34 | esac 35 | 36 | # uncomment for a colored prompt, if the terminal has the capability; turned 37 | # off by default to not distract the user: the focus in a terminal window 38 | # should be on the output of commands, not on the prompt 39 | #force_color_prompt=yes 40 | 41 | if [ -n "$force_color_prompt" ]; then 42 | if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then 43 | # We have color support; assume it's compliant with Ecma-48 44 | # (ISO/IEC-6429). (Lack of such support is extremely rare, and such 45 | # a case would tend to support setf rather than setaf.) 46 | color_prompt=yes 47 | else 48 | color_prompt= 49 | fi 50 | fi 51 | 52 | if [ "$color_prompt" = yes ]; then 53 | PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' 54 | else 55 | PS1='${debian_chroot:+($debian_chroot)}\u@\h:\w\$ ' 56 | fi 57 | unset color_prompt force_color_prompt 58 | 59 | # If this is an xterm set the title to user@host:dir 60 | case "$TERM" in 61 | xterm*|rxvt*) 62 | PS1="\[\e]0;${debian_chroot:+($debian_chroot)}\u@\h: \w\a\]$PS1" 63 | ;; 64 | *) 65 | ;; 66 | esac 67 | 68 | # enable color support of ls and also add handy aliases 69 | if [ -x /usr/bin/dircolors ]; then 70 | test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)" 71 | alias ls='ls --color=auto' 72 | #alias dir='dir --color=auto' 73 | #alias vdir='vdir --color=auto' 74 | 75 | alias grep='grep --color=auto' 76 | alias fgrep='fgrep --color=auto' 77 | alias egrep='egrep --color=auto' 78 | fi 79 | 80 | # some more ls aliases 81 | alias ll='ls -alF' 82 | alias la='ls -A' 83 | alias l='ls -CF' 84 | 85 | # Alias definitions. 86 | # You may want to put all your additions into a separate file like 87 | # ~/.bash_aliases, instead of adding them here directly. 88 | # See /usr/share/doc/bash-doc/examples in the bash-doc package. 89 | 90 | if [ -f ~/.bash_aliases ]; then 91 | . ~/.bash_aliases 92 | fi 93 | 94 | # enable programmable completion features (you don't need to enable 95 | # this, if it's already enabled in /etc/bash.bashrc and /etc/profile 96 | # sources /etc/bash.bashrc). 97 | #if [ -f /etc/bash_completion ] && ! shopt -oq posix; then 98 | # . /etc/bash_completion 99 | #fi 100 | alias systemctl='python3 /usr/local/share/systemctl3.py' 101 | 102 | echo "This docker image contains the following XRT Version(s):" 103 | ls /opt/xilinx/xrt_versions | grep xrt | cut -d"_" -f2 104 | 105 | ls /opt/xilinx/shell>/dev/null 106 | if [[ $? == 0 ]]; then 107 | echo "This docker image contains the following Shell Package(s):" 108 | ls /opt/xilinx/shell | grep xilinx 109 | else 110 | echo "This docker image does not contain any Shell Packages" 111 | fi 112 | -------------------------------------------------------------------------------- /Dockerfiles/2021.2/ubuntu-20.04/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:20.04 2 | ARG PACKAGE_PATH=/tmp/xilinx_packages 3 | RUN apt-get update; apt-get install -y wget; mkdir -p ${PACKAGE_PATH}; mkdir -p /opt/xilinx/shell 4 | 5 | # Download XRT pacakges 6 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202020.2.9.317_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202020.2.9.317_20.04-amd64-xrt.deb; \ 7 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202110.2.11.634_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202110.2.11.634_20.04-amd64-xrt.deb; \ 8 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202120.2.12.427_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202120.2.12.427_20.04-amd64-xrt.deb; \ 9 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrm_202120.1.3.29_20.04-x86_64.deb > ${PACKAGE_PATH}/xrm_202120.1.3.29_20.04-x86_64.deb; 10 | 11 | # Download u50 XRT Shell Packages 12 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u50-gen3x16-xdma-all_1-2784799.deb.tar.gz > /opt/xilinx/shell/xilinx-u50-gen3x16-xdma-all_1-2784799.deb.tar.gz; \ 13 | # Download u200 XRT Shell Pacakges 14 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u200-gen3x16-xdma-all_1-3209015.deb_2.tar.gz > /opt/xilinx/shell/xilinx-u200-gen3x16-xdma-all_1-3209015.deb_2.tar.gz; \ 15 | # Download u250 XRT Shell Packages 16 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u250-gen3x16-xdma-all_3.1-3063142.deb_2.tar.gz > /opt/xilinx/shell/xilinx-u250-gen3x16-xdma-all_3.1-3063142.deb_2.tar.gz; 17 | 18 | # Untar relevant shell packages 19 | RUN cd /opt/xilinx/shell; \ 20 | tar -ozxvf /opt/xilinx/shell/xilinx-u50-gen3x16-xdma-all_1-2784799.deb.tar.gz; \ 21 | tar -ozxvf /opt/xilinx/shell/xilinx-u200-gen3x16-xdma-all_1-3209015.deb_2.tar.gz; \ 22 | tar -ozxvf /opt/xilinx/shell/xilinx-u250-gen3x16-xdma-all_3.1-3063142.deb_2.tar.gz; \ 23 | rm /opt/xilinx/shell/*.tar.gz 24 | 25 | # Install XRT and modify the Path 26 | RUN XRT_VERSION="202020.2.9.317"; \ 27 | apt-get update; \ 28 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 29 | mkdir /opt/xilinx/xrt_versions; \ 30 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 31 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 32 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 33 | XRT_VERSION="202110.2.11.634"; \ 34 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 35 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 36 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 37 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 38 | XRT_VERSION="202120.2.12.427"; \ 39 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 40 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 41 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 42 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 43 | ln -s /opt/xilinx/xrt_versions/xrt_${XRT_VERSION} /opt/xilinx/xrt 44 | 45 | # Download and install XRM package 46 | RUN XRM_VERSION="202120.1.3.29"; \ 47 | apt-get install -y ${PACKAGE_PATH}/xrm_${XRM_VERSION}_20.04-x86_64.deb 48 | 49 | # Enalble Systemctl 50 | RUN wget -cO - https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl3.py > /usr/local/share/systemctl3.py; \ 51 | echo "alias systemctl='python3 /usr/local/share/systemctl3.py'" >> /root/.bashrc; \ 52 | ln -s /usr/local/share/docker-systemctl-replacement/files/docker/systemctl3.py /usr/local/bin/systemctl; \ 53 | export PATH=/usr/local/bin/:$PATH 54 | 55 | COPY auto_setup.sh /opt/xilinx/auto_setup.sh 56 | COPY .bashrc /root/.bashrc 57 | -------------------------------------------------------------------------------- /Dockerfiles/2022.2_noshell/ubuntu-20.04/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:20.04 2 | ARG PACKAGE_PATH=/tmp/xilinx_packages 3 | RUN apt-get update; apt-get install -y wget; mkdir -p ${PACKAGE_PATH}; mkdir -p /opt/xilinx/shell 4 | 5 | # Download XRT pacakges 6 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202020.2.9.317_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202020.2.9.317_20.04-amd64-xrt.deb; \ 7 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202110.2.11.634_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202110.2.11.634_20.04-amd64-xrt.deb; \ 8 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202120.2.12.427_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202120.2.12.427_20.04-amd64-xrt.deb; \ 9 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202210.2.13.466_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202210.2.13.466_20.04-amd64-xrt.deb; \ 10 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202220.2.14.354_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202220.2.14.354_20.04-amd64-xrt.deb; \ 11 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrm_202220.1.5.212_20.04-x86_64.deb > ${PACKAGE_PATH}/xrm_202220.1.5.212_20.04-x86_64.deb; 12 | 13 | # Install XRT and modify the Path 14 | RUN XRT_VERSION="202020.2.9.317"; \ 15 | apt-get update; \ 16 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 17 | mkdir /opt/xilinx/xrt_versions; \ 18 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 19 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 20 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 21 | XRT_VERSION="202110.2.11.634"; \ 22 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 23 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 24 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 25 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 26 | XRT_VERSION="202120.2.12.427"; \ 27 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 28 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 29 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 30 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 31 | XRT_VERSION="202210.2.13.466"; \ 32 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 33 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 34 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 35 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 36 | XRT_VERSION="202220.2.14.354"; \ 37 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 38 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 39 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 40 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 41 | ln -s /opt/xilinx/xrt_versions/xrt_${XRT_VERSION} /opt/xilinx/xrt 42 | 43 | # Download and install XRM package 44 | RUN XRM_VERSION="202220.1.5.212"; \ 45 | apt-get install -y ${PACKAGE_PATH}/xrm_${XRM_VERSION}_20.04-x86_64.deb 46 | 47 | # Enalble Systemctl 48 | RUN wget -cO - https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl3.py > /usr/local/share/systemctl3.py; \ 49 | echo "alias systemctl='python3 /usr/local/share/systemctl3.py'" >> /root/.bashrc; \ 50 | ln -s /usr/local/share/docker-systemctl-replacement/files/docker/systemctl3.py /usr/local/bin/systemctl; \ 51 | export PATH=/usr/local/bin/:$PATH 52 | 53 | COPY auto_setup.sh /opt/xilinx/auto_setup.sh 54 | COPY .bashrc /root/.bashrc 55 | -------------------------------------------------------------------------------- /Dockerfiles/2023.1_noshell/ubuntu-20.04/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:20.04 2 | ARG PACKAGE_PATH=/tmp/xilinx_packages 3 | RUN apt-get update; apt-get install -y wget; mkdir -p ${PACKAGE_PATH}; mkdir -p /opt/xilinx/shell 4 | 5 | # Download XRT pacakges 6 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202020.2.9.317_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202020.2.9.317_20.04-amd64-xrt.deb; \ 7 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202110.2.11.634_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202110.2.11.634_20.04-amd64-xrt.deb; \ 8 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202120.2.12.427_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202120.2.12.427_20.04-amd64-xrt.deb; \ 9 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202210.2.13.466_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202210.2.13.466_20.04-amd64-xrt.deb; \ 10 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202220.2.14.354_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202220.2.14.354_20.04-amd64-xrt.deb; \ 11 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202310.2.15.225_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202220.2.14.354_20.04-amd64-xrt.deb; \ 12 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrm_202310.1.6.50044_ubuntu20.04-x86_64.deb > ${PACKAGE_PATH}/xrm_202310.1.6.50044_ubuntu20.04-x86_64.deb; 13 | 14 | # Install XRT and modify the Path 15 | RUN XRT_VERSION="202020.2.9.317"; \ 16 | apt-get update; \ 17 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 18 | mkdir /opt/xilinx/xrt_versions; \ 19 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 20 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 21 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 22 | XRT_VERSION="202110.2.11.634"; \ 23 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 24 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 25 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 26 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 27 | XRT_VERSION="202120.2.12.427"; \ 28 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 29 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 30 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 31 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 32 | XRT_VERSION="202210.2.13.466"; \ 33 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 34 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 35 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 36 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 37 | XRT_VERSION="202220.2.14.354"; \ 38 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 39 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 40 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 41 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 42 | XRT_VERSION="202310.2.15.225"; \ 43 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 44 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 45 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 46 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 47 | ln -s /opt/xilinx/xrt_versions/xrt_${XRT_VERSION} /opt/xilinx/xrt 48 | 49 | # Download and install XRM package 50 | RUN XRM_VERSION="202310.1.6.50044"; \ 51 | apt-get install -y ${PACKAGE_PATH}/xrm_${XRM_VERSION}_ubuntu20.04-x86_64.deb 52 | 53 | # Enalble Systemctl 54 | RUN wget -cO - https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl3.py > /usr/local/share/systemctl3.py; \ 55 | echo "alias systemctl='python3 /usr/local/share/systemctl3.py'" >> /root/.bashrc; \ 56 | ln -s /usr/local/share/docker-systemctl-replacement/files/docker/systemctl3.py /usr/local/bin/systemctl; \ 57 | export PATH=/usr/local/bin/:$PATH 58 | 59 | COPY auto_setup.sh /opt/xilinx/auto_setup.sh 60 | COPY .bashrc /root/.bashrc 61 | -------------------------------------------------------------------------------- /Dockerfiles/2022.1/ubuntu-20.04/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:20.04 2 | ARG PACKAGE_PATH=/tmp/xilinx_packages 3 | RUN apt-get update; apt-get install -y wget; mkdir -p ${PACKAGE_PATH}; mkdir -p /opt/xilinx/shell 4 | 5 | # Download XRT pacakges 6 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202020.2.9.317_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202020.2.9.317_20.04-amd64-xrt.deb; \ 7 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202110.2.11.634_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202110.2.11.634_20.04-amd64-xrt.deb; \ 8 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202120.2.12.427_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202120.2.12.427_20.04-amd64-xrt.deb; \ 9 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202210.2.13.466_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202210.2.13.466_20.04-amd64-xrt.deb; \ 10 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrm_202210.1.4.9_20.04-x86_64.deb > ${PACKAGE_PATH}/xrm_202210.1.4.9_20.04-x86_64.deb; 11 | 12 | # Download u200 XRT Shell Pacakges 13 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u200-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz > /opt/xilinx/shell/xilinx-u200-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 14 | # Download u250 XRT Shell Packages 15 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u250-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz > /opt/xilinx/shell/xilinx-u250-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 16 | # Download u50 XRT Shell Packages 17 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u50-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz > /opt/xilinx/shell/xilinx-u50-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 18 | # Download u55c XRT Shell Packages 19 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u55c-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz > /opt/xilinx/shell/xilinx-u55c-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; 20 | # Untar relevant shell packages 21 | RUN cd /opt/xilinx/shell; \ 22 | tar -ozxvf /opt/xilinx/shell/xilinx-u200-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 23 | tar -ozxvf /opt/xilinx/shell/xilinx-u250-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 24 | tar -ozxvf /opt/xilinx/shell/xilinx-u50-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 25 | tar -ozxvf /opt/xilinx/shell/xilinx-u55c-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 26 | rm /opt/xilinx/shell/*.tar.gz 27 | 28 | # Install XRT and modify the Path 29 | RUN XRT_VERSION="202020.2.9.317"; \ 30 | apt-get update; \ 31 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 32 | mkdir /opt/xilinx/xrt_versions; \ 33 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 34 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 35 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 36 | XRT_VERSION="202110.2.11.634"; \ 37 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 38 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 39 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 40 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 41 | XRT_VERSION="202120.2.12.427"; \ 42 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 43 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 44 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 45 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 46 | XRT_VERSION="202210.2.13.466"; \ 47 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 48 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 49 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 50 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 51 | ln -s /opt/xilinx/xrt_versions/xrt_${XRT_VERSION} /opt/xilinx/xrt 52 | 53 | # Download and install XRM package 54 | RUN XRM_VERSION="202210.1.4.9"; \ 55 | apt-get install -y ${PACKAGE_PATH}/xrm_${XRM_VERSION}_20.04-x86_64.deb 56 | 57 | # Enalble Systemctl 58 | RUN wget -cO - https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl3.py > /usr/local/share/systemctl3.py; \ 59 | echo "alias systemctl='python3 /usr/local/share/systemctl3.py'" >> /root/.bashrc; \ 60 | ln -s /usr/local/share/docker-systemctl-replacement/files/docker/systemctl3.py /usr/local/bin/systemctl; \ 61 | export PATH=/usr/local/bin/:$PATH 62 | 63 | COPY auto_setup.sh /opt/xilinx/auto_setup.sh 64 | COPY .bashrc /root/.bashrc 65 | -------------------------------------------------------------------------------- /Dockerfiles/2021.1/centos-8/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM centos:8 2 | ARG PACKAGE_PATH=/tmp/xilinx_packages 3 | RUN yum upgrade; yum install -y wget; mkdir -p ${PACKAGE_PATH}; mkdir -p /opt/xilinx/shell 4 | RUN yum install -y dnf-plugins-core 5 | RUN yum config-manager --set-enabled powertools 6 | RUN yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm 7 | RUN yum config-manager --set-enabled appstream 8 | 9 | # Download XRT Packages 10 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202010.2.7.766_8.1.1911-x86_64-xrt.rpm > ${PACKAGE_PATH}/xrt_202010.2.7.766_8.1.1911-x86_64-xrt.rpm; \ 11 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202020.2.9.317_8.1.1911-x86_64-xrt.rpm > ${PACKAGE_PATH}/xrt_202020.2.9.317_8.1.1911-x86_64-xrt.rpm; \ 12 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202110.2.11.634_8.1.1911-x86_64-xrt.rpm > ${PACKAGE_PATH}/xrt_202110.2.11.634_8.1.1911-x86_64-xrt.rpm; \ 13 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrm_202110.1.2.1539_8.1.1911-x86_64.rpm > ${PACKAGE_PATH}/xrm_202110.1.2.1539_8.1.1911-x86_64.rpm; 14 | 15 | # Download u50 XRT Shell Packages 16 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=Xilinx_u50-gen3x16-xdma-201920.3-2784799_noarch_rpm.tar.gz > /opt/xilinx/shell/Xilinx_u50-gen3x16-xdma-201920.3-2784799_noarch_rpm.tar.gz; \ 17 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u50-gen3x16-xdma-201920_3-1.noarch.rpm.tar.gz > /opt/xilinx/shell/xilinx-u50-gen3x16-xdma-201920_3-1.noarch.rpm.tar.gz; 18 | 19 | # Download u200 XRT Shell Packages 20 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u200-xdma-201830.2-2580015.x86_64.rpm > /opt/xilinx/shell/xilinx-u200-xdma-201830.2-2580015.x86_64.rpm; \ 21 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u200-gen3x16-xdma-noarch_1-3209015.rpm_2.tar.gz > /opt/xilinx/shell/xilinx-u200-gen3x16-xdma-noarch_1-3209015.rpm_2.tar.gz; 22 | 23 | # Download u250 XRT Shell Packages 24 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u250-xdma-201830.2-2580015.x86_64.rpm > /opt/xilinx/shell/xilinx-u250-xdma-201830.2-2580015.x86_64.rpm; \ 25 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u250-gen3x16-xdma-noarch_3.1-3063142.rpm_2.tar.gz > /opt/xilinx/shell/xilinx-u250-gen3x16-xdma-noarch_3.1-3063142.rpm_2.tar.gz; 26 | 27 | # Download u280 XRT Shell Packages 28 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u280-xdma-201920.3-2789161.x86_64.rpm > /opt/xilinx/shell/xilinx-u280-xdma-201920.3-2789161.x86_64.rpm; \ 29 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u280-xdma-201920.3-3246211.x86_64.rpm > /opt/xilinx/shell/xilinx-u280-xdma-201920.3-3246211.x86_64.rpm; 30 | 31 | # Untar relevant shell packages 32 | RUN cd /opt/xilinx/shell; \ 33 | tar -zxvf /opt/xilinx/shell/Xilinx_u50-gen3x16-xdma-201920.3-2784799_noarch_rpm.tar.gz; \ 34 | tar -zxvf /opt/xilinx/shell/xilinx-u50-gen3x16-xdma-201920_3-1.noarch.rpm.tar.gz; \ 35 | tar -zxvf /opt/xilinx/shell/xilinx-u200-gen3x16-xdma-noarch_1-3209015.rpm_2.tar.gz; \ 36 | tar -zxvf /opt/xilinx/shell/xilinx-u250-gen3x16-xdma-noarch_3.1-3063142.rpm_2.tar.gz; \ 37 | rm /opt/xilinx/shell/*.tar.gz; 38 | 39 | # Install XRT and modify the Path 40 | RUN XRT_VERSION="202010.2.7.766"; \ 41 | yum install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_8.1.1911-x86_64-xrt.rpm; \ 42 | mkdir /opt/xilinx/xrt_versions; \ 43 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 44 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 45 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; 46 | 47 | RUN XRT_VERSION="202020.2.9.317"; \ 48 | yum install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_8.1.1911-x86_64-xrt.rpm; \ 49 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 50 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 51 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; 52 | 53 | RUN XRT_VERSION="202110.2.11.634"; \ 54 | yum install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_8.1.1911-x86_64-xrt.rpm; \ 55 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 56 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 57 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 58 | ln -s /opt/xilinx/xrt_versions/xrt_${XRT_VERSION} /opt/xilinx/xrt 59 | 60 | # Download and install XRM package 61 | RUN XRM_VERSION="202110.1.2.1539";\ 62 | yum install -y ${PACKAGE_PATH}/xrm_${XRM_VERSION}_8.1.1911-x86_64.rpm 63 | 64 | # Enalble Systemctl 65 | RUN wget -cO - https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl3.py > /usr/local/share/systemctl3.py; 66 | RUN echo "alias systemctl='python3 /usr/local/share/systemctl3.py'" >> /root/.bashrc 67 | RUN ln -s /usr/local/share/docker-systemctl-replacement/files/docker/systemctl3.py /usr/local/bin/systemctl 68 | RUN export PATH=/usr/local/bin/:$PATH 69 | 70 | COPY auto_setup.sh /opt/xilinx/auto_setup.sh 71 | 72 | -------------------------------------------------------------------------------- /run.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # 3 | # (C) Copyright 2019, Xilinx, Inc. 4 | # 5 | #!/usr/bin/env bash 6 | 7 | usage() { 8 | echo "Running run.sh to start a docker container for XRT runtime. " 9 | echo "" 10 | echo "Usage:" 11 | echo "./run.sh --version --os-version " 12 | echo "./run.sh -v -o " 13 | echo " : 2018.3 / 2019.1 / 2019.2" 14 | echo " : ubuntu-18.04 / ubuntu-16.04 / centos" 15 | echo "" 16 | echo "Example:" 17 | echo "Start docker container whith 2019.2 XRT on Ubuntu 18.04" 18 | echo " ./run.sh -v 2019.2 -o ubuntu-18.04" 19 | echo "" 20 | echo "Additional parameters: " 21 | echo "-c [command] : Execute specific command when start docker container" 22 | echo "--pull : Pull docker image before run" 23 | 24 | } 25 | 26 | 27 | list() { 28 | echo "Available Docker Images:" 29 | echo "" 30 | echo "Image Name Support Platform Version OS Version" 31 | echo "alveo-2018-3-centos Alveo U200 / U250 2018.3 CentOS" 32 | echo "alveo-2018-3-ubuntu-1604 Alveo U200 / U250 2018.3 Ubuntu 16.04" 33 | echo "alveo-2018-3-ubuntu-1804 Alveo U200 / U250 2018.3 Ubuntu 18.04" 34 | echo "alveo-2019-1-centos Alveo U200 / U250 / U280 2019.1 CentOS" 35 | echo "alveo-2019-1-ubuntu-1604 Alveo U200 / U250 / U280 2019.1 Ubuntu 16.04" 36 | echo "alveo-2019-1-ubuntu-1804 Alveo U200 / U250 / U280 2019.1 Ubuntu 18.04" 37 | echo "alveo-2019-2-centos Alveo U200 / U250 / U280 / U50 2019.2 CentOS" 38 | echo "alveo-2019-2-ubuntu-1604 Alveo U200 / U250 / U280 / U50 2019.2 Ubuntu 16.04" 39 | echo "alveo-2019-2-ubuntu-1804 Alveo U200 / U250 / U280 / U50 2019.2 Ubuntu 18.04" 40 | echo "alveo-2020-1-centos Alveo U200 / U250 / U280 / U50 2020.1 CentOS" 41 | echo "alveo-2020-1-ubuntu-1604 Alveo U200 / U250 / U280 / U50 2020.1 Ubuntu 16.04" 42 | echo "alveo-2020-1-ubuntu-1804 Alveo U200 / U250 / U280 / U50 2020.1 Ubuntu 18.04" 43 | } 44 | 45 | notice_disclaimer() { 46 | cat doc/notice_disclaimer.txt 47 | } 48 | 49 | confirm() { 50 | # call with a prompt string or use a default 51 | read -r -p "${1:-Are you sure you wish to proceed? [y/n]:} " response 52 | case "$response" in 53 | [yY][eE][sS]|[yY]) 54 | true 55 | ;; 56 | *) 57 | exit 1 58 | ;; 59 | esac 60 | } 61 | 62 | check_docker() { 63 | DOCKER_INFO=`docker info 2>/dev/null` 64 | if [ $? == 0 ] ; then 65 | return 0 66 | fi 67 | OSVERSION=`grep '^ID=' /etc/os-release | awk -F= '{print $2}' | tr -d '"'` 68 | 69 | if [[ "$OSVERSION" == "ubuntu" ]]; then 70 | DOCKER_INFO=`apt list --installed 2>/dev/null | grep docker-ce` 71 | elif [[ "$OSVERSION" == "centos" ]]; then 72 | DOCKER_INFO=`yum list installed 2>/dev/null | grep docker-ce` 73 | else 74 | return 0 75 | fi 76 | if [ $? == 0 ] ; then 77 | DOCKER_INFO=`docker info 2>/dev/null` 78 | if [ $? != 0 ] ; then 79 | docker info 80 | return 1 81 | fi 82 | else 83 | echo "Docker is NOT installed. Please run " 84 | echo " ./utilities/docker_install.sh" 85 | echo "to install docker service. " 86 | return 1 87 | fi 88 | } 89 | 90 | notice_disclaimer 91 | confirm 92 | 93 | COMMAND="/bin/bash" 94 | PLATFORM="alveo-u200" 95 | UPDATE=0 96 | 97 | /opt/xilinx/xrt/bin/xbutil list > /dev/null 98 | if [ $? != 0 ] ; then 99 | echo "Please check XRT is installed and Shell is flashed on FPGA. See:" 100 | echo "/opt/xilinx/xrt/bin/xbutil list" 101 | echo "" 102 | echo "You can use host_setup.sh to install and flash. " 103 | exit 1 104 | fi 105 | 106 | check_docker 107 | 108 | if [[ $? != 0 ]]; then 109 | exit 1 110 | fi 111 | 112 | while true 113 | do 114 | case "$1" in 115 | -v|--version ) VERSION="$2" ; shift 2 ;; 116 | -o|--os-version ) OSVERSION="$2" ; shift 2 ;; 117 | -c ) COMMAND="$2" ; shift 2 ;; 118 | --pull ) UPDATE=1 ; shift 1 ;; 119 | -h|--help ) usage ; exit 1 ;; 120 | *) break ;; 121 | esac 122 | done 123 | 124 | if [ $? != 0 ] ; then echo "Failed parsing options." >&2 ; usage; exit 1 ; fi 125 | 126 | if [[ "$VERSION" == "2019.1" ]]; then 127 | read -r -p "${1:-Is this for U50? [y/n]:} " response 128 | case "$response" in 129 | [yY][eE][sS]|[yY]) 130 | PLATFORM="alveo-u50" 131 | ;; 132 | *) 133 | ;; 134 | esac 135 | fi 136 | 137 | COMB="${PLATFORM}_${VERSION}_${OSVERSION}" 138 | 139 | if grep -q $COMB "conf/spec.txt"; then 140 | IMAGE_TAG=`grep ^$COMB: conf/spec.txt | awk -F':' '{print $2}' | awk -F';' '{print $5}' | awk -F= '{print $2}'` 141 | else 142 | usage 143 | echo "" 144 | list 145 | exit 1 146 | fi 147 | 148 | DOCKER_IMAGE="xilinx/xilinx_runtime_base:$IMAGE_TAG" 149 | 150 | # Mapping XRT user function and management function 151 | DEVICES="" 152 | for xclf in /dev/xclmgmt* 153 | do 154 | DEVICES="$DEVICES --device=$xclf:$xclf" 155 | done 156 | for usrf in /dev/dri/renderD* 157 | do 158 | DEVICES="$DEVICES --device=$usrf:$usrf" 159 | done 160 | 161 | if [[ "$UPDATE" == 1 ]]; then 162 | #Update docker image 163 | echo "Pull docker image: $DOCKER_IMAGE" 164 | docker pull $DOCKER_IMAGE 165 | fi 166 | 167 | 168 | echo "Run docker as:" 169 | echo "docker run --rm $DEVICES -it $DOCKER_IMAGE" 170 | docker run \ 171 | --rm \ 172 | $DEVICES \ 173 | -it \ 174 | $DOCKER_IMAGE \ 175 | /bin/bash -c \ 176 | "$COMMAND" 177 | 178 | -------------------------------------------------------------------------------- /Dockerfiles/2022.2/ubuntu-20.04/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:20.04 2 | ARG PACKAGE_PATH=/tmp/xilinx_packages 3 | RUN apt-get update; apt-get install -y wget; mkdir -p ${PACKAGE_PATH}; mkdir -p /opt/xilinx/shell 4 | 5 | # Download XRT pacakges 6 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202020.2.9.317_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202020.2.9.317_20.04-amd64-xrt.deb; \ 7 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202110.2.11.634_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202110.2.11.634_20.04-amd64-xrt.deb; \ 8 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202120.2.12.427_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202120.2.12.427_20.04-amd64-xrt.deb; \ 9 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202210.2.13.466_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202210.2.13.466_20.04-amd64-xrt.deb; \ 10 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202220.2.14.354_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202220.2.14.354_20.04-amd64-xrt.deb; \ 11 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrm_202220.1.5.212_20.04-x86_64.deb > ${PACKAGE_PATH}/xrm_202220.1.5.212_20.04-x86_64.deb; 12 | 13 | # Download u200 XRT Shell Pacakges 14 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u200-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz > /opt/xilinx/shell/xilinx-u200-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 15 | # Download u250 XRT Shell Packages 16 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u250-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz > /opt/xilinx/shell/xilinx-u250-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 17 | # Download u50 XRT Shell Packages 18 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u50-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz > /opt/xilinx/shell/xilinx-u50-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 19 | # Download u55c XRT Shell Packages 20 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u55c-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz > /opt/xilinx/shell/xilinx-u55c-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; 21 | # Untar relevant shell packages 22 | RUN cd /opt/xilinx/shell; \ 23 | tar -ozxvf /opt/xilinx/shell/xilinx-u200-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 24 | tar -ozxvf /opt/xilinx/shell/xilinx-u250-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 25 | tar -ozxvf /opt/xilinx/shell/xilinx-u50-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 26 | tar -ozxvf /opt/xilinx/shell/xilinx-u55c-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 27 | rm /opt/xilinx/shell/*.tar.gz 28 | 29 | # Install XRT and modify the Path 30 | RUN XRT_VERSION="202020.2.9.317"; \ 31 | apt-get update; \ 32 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 33 | mkdir /opt/xilinx/xrt_versions; \ 34 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 35 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 36 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 37 | XRT_VERSION="202110.2.11.634"; \ 38 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 39 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 40 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 41 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 42 | XRT_VERSION="202120.2.12.427"; \ 43 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 44 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 45 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 46 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 47 | XRT_VERSION="202210.2.13.466"; \ 48 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 49 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 50 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 51 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 52 | XRT_VERSION="202220.2.14.354"; \ 53 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 54 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 55 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 56 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 57 | ln -s /opt/xilinx/xrt_versions/xrt_${XRT_VERSION} /opt/xilinx/xrt 58 | 59 | # Download and install XRM package 60 | RUN XRM_VERSION="202220.1.5.212"; \ 61 | apt-get install -y ${PACKAGE_PATH}/xrm_${XRM_VERSION}_20.04-x86_64.deb 62 | 63 | # Enalble Systemctl 64 | RUN wget -cO - https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl3.py > /usr/local/share/systemctl3.py; \ 65 | echo "alias systemctl='python3 /usr/local/share/systemctl3.py'" >> /root/.bashrc; \ 66 | ln -s /usr/local/share/docker-systemctl-replacement/files/docker/systemctl3.py /usr/local/bin/systemctl; \ 67 | export PATH=/usr/local/bin/:$PATH 68 | 69 | COPY auto_setup.sh /opt/xilinx/auto_setup.sh 70 | COPY .bashrc /root/.bashrc 71 | -------------------------------------------------------------------------------- /Dockerfiles/2022.1_noshell/ubuntu-18.04/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:18.04 2 | ARG PACKAGE_PATH=/tmp/xilinx_packages 3 | RUN apt-get update; apt-get install -y wget; mkdir -p ${PACKAGE_PATH}; mkdir -p /opt/xilinx/shell 4 | 5 | # Download XRT pacakges 6 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_201910.2.2.2250_18.04-xrt.deb > ${PACKAGE_PATH}/xrt_201910.2.2.2250_18.04-xrt.deb; \ 7 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_201920.2.3.1301_18.04-xrt.deb > ${PACKAGE_PATH}/xrt_201920.2.3.1301_18.04-xrt.deb; \ 8 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_201920.2.5.309_18.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_201920.2.5.309_18.04-amd64-xrt.deb; \ 9 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202010.2.6.655_18.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202010.2.6.655_18.04-amd64-xrt.deb; \ 10 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202020.2.8.832_18.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202020.2.8.832_18.04-amd64-xrt.deb; \ 11 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202020.2.8.832_18.04-amd64-azure.deb > ${PACKAGE_PATH}/xrt_202020.2.8.832_18.04-amd64-azure.deb; \ 12 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202110.2.11.634_18.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202110.2.11.634_18.04-amd64-xrt.deb; \ 13 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202120.2.12.427_18.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202120.2.12.427_18.04-amd64-xrt.deb; \ 14 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202210.2.13.466_18.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202210.2.13.466_18.04-amd64-xrt.deb; \ 15 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrm_202210.1.4.9_18.04-x86_64.deb > ${PACKAGE_PATH}/xrm_202210.1.4.9_18.04-x86_64.deb; 16 | 17 | # Install XRT and modify the Path 18 | RUN XRT_VERSION="201910.2.2.2250"; \ 19 | apt-get update; \ 20 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_18.04-xrt.deb; \ 21 | mkdir /opt/xilinx/xrt_versions; \ 22 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 23 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 24 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 25 | XRT_VERSION="201920.2.3.1301"; \ 26 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_18.04-xrt.deb; \ 27 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 28 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 29 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 30 | XRT_VERSION="201920.2.5.309"; \ 31 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_18.04-amd64-xrt.deb; \ 32 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 33 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 34 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 35 | XRT_VERSION="202010.2.6.655"; \ 36 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_18.04-amd64-xrt.deb; \ 37 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 38 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 39 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 40 | XRT_VERSION="202020.2.8.832"; \ 41 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_18.04-amd64-xrt.deb; \ 42 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_18.04-amd64-azure.deb; \ 43 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 44 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 45 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 46 | XRT_VERSION="202110.2.11.634"; \ 47 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_18.04-amd64-xrt.deb; \ 48 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 49 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 50 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 51 | XRT_VERSION="202120.2.12.427"; \ 52 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_18.04-amd64-xrt.deb; \ 53 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 54 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 55 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 56 | XRT_VERSION="202210.2.13.466"; \ 57 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_18.04-amd64-xrt.deb; \ 58 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 59 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 60 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 61 | ln -s /opt/xilinx/xrt_versions/xrt_${XRT_VERSION} /opt/xilinx/xrt; 62 | 63 | # Download and install XRM package 64 | RUN XRM_VERSION="202210.1.4.9"; \ 65 | apt-get install -y ${PACKAGE_PATH}/xrm_${XRM_VERSION}_18.04-x86_64.deb 66 | 67 | # Enalble Systemctl 68 | RUN wget -cO - https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl3.py > /usr/local/share/systemctl3.py; \ 69 | echo "alias systemctl='python3 /usr/local/share/systemctl3.py'" >> /root/.bashrc; \ 70 | ln -s /usr/local/share/docker-systemctl-replacement/files/docker/systemctl3.py /usr/local/bin/systemctl; \ 71 | export PATH=/usr/local/bin/:$PATH; 72 | 73 | COPY auto_setup.sh /opt/xilinx/auto_setup.sh 74 | COPY .bashrc /root/.bashrc 75 | -------------------------------------------------------------------------------- /Dockerfiles/2023.1/ubuntu-20.04/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:20.04 2 | ARG PACKAGE_PATH=/tmp/xilinx_packages 3 | RUN apt-get update; apt-get install -y wget; mkdir -p ${PACKAGE_PATH}; mkdir -p /opt/xilinx/shell 4 | 5 | # Download XRT pacakges 6 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202020.2.9.317_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202020.2.9.317_20.04-amd64-xrt.deb; \ 7 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202110.2.11.634_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202110.2.11.634_20.04-amd64-xrt.deb; \ 8 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202120.2.12.427_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202120.2.12.427_20.04-amd64-xrt.deb; \ 9 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202210.2.13.466_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202210.2.13.466_20.04-amd64-xrt.deb; \ 10 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202220.2.14.354_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202220.2.14.354_20.04-amd64-xrt.deb; \ 11 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrt_202310.2.15.225_20.04-amd64-xrt.deb > ${PACKAGE_PATH}/xrt_202220.2.14.354_20.04-amd64-xrt.deb; \ 12 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xrm_202310.1.6.50044_ubuntu20.04-x86_64.deb > ${PACKAGE_PATH}/xrm_202310.1.6.50044_ubuntu20.04-x86_64.deb; 13 | 14 | # Download u200 XRT Shell Pacakges 15 | RUN wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u200-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz > /opt/xilinx/shell/xilinx-u200-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 16 | # Download u250 XRT Shell Packages 17 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u250-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz > /opt/xilinx/shell/xilinx-u250-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 18 | # Download u50 XRT Shell Packages 19 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u50-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz > /opt/xilinx/shell/xilinx-u50-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 20 | # Download u55c XRT Shell Packages 21 | wget -cO - https://www.xilinx.com/bin/public/openDownload?filename=xilinx-u55c-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz > /opt/xilinx/shell/xilinx-u55c-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; 22 | # Untar relevant shell packages 23 | RUN cd /opt/xilinx/shell; \ 24 | tar -ozxvf /opt/xilinx/shell/xilinx-u200-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 25 | tar -ozxvf /opt/xilinx/shell/xilinx-u250-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 26 | tar -ozxvf /opt/xilinx/shell/xilinx-u50-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 27 | tar -ozxvf /opt/xilinx/shell/xilinx-u55c-gen3x16-xdma_2022.1_2022_0415_2123-all.deb.tar.gz; \ 28 | rm /opt/xilinx/shell/*.tar.gz 29 | 30 | # Install XRT and modify the Path 31 | RUN XRT_VERSION="202020.2.9.317"; \ 32 | apt-get update; \ 33 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 34 | mkdir /opt/xilinx/xrt_versions; \ 35 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 36 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 37 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 38 | XRT_VERSION="202110.2.11.634"; \ 39 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 40 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 41 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 42 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 43 | XRT_VERSION="202120.2.12.427"; \ 44 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 45 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 46 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 47 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 48 | XRT_VERSION="202210.2.13.466"; \ 49 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 50 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 51 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 52 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 53 | XRT_VERSION="202220.2.14.354"; \ 54 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 55 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 56 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 57 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 58 | XRT_VERSION="202310.2.15.225"; \ 59 | apt-get install -y ${PACKAGE_PATH}/xrt_${XRT_VERSION}_20.04-amd64-xrt.deb; \ 60 | mv /opt/xilinx/xrt /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}; \ 61 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.sh; \ 62 | sed -i "s/\/opt\/xilinx\/xrt/\/opt\/xilinx\/xrt_versions\/xrt_$XRT_VERSION/" /opt/xilinx/xrt_versions/xrt_${XRT_VERSION}/setup.csh; \ 63 | ln -s /opt/xilinx/xrt_versions/xrt_${XRT_VERSION} /opt/xilinx/xrt 64 | 65 | # Download and install XRM package 66 | RUN XRM_VERSION="202310.1.6.50044"; \ 67 | apt-get install -y ${PACKAGE_PATH}/xrm_${XRM_VERSION}_ubuntu20.04-x86_64.deb 68 | 69 | # Enalble Systemctl 70 | RUN wget -cO - https://raw.githubusercontent.com/gdraheim/docker-systemctl-replacement/master/files/docker/systemctl3.py > /usr/local/share/systemctl3.py; \ 71 | echo "alias systemctl='python3 /usr/local/share/systemctl3.py'" >> /root/.bashrc; \ 72 | ln -s /usr/local/share/docker-systemctl-replacement/files/docker/systemctl3.py /usr/local/bin/systemctl; \ 73 | export PATH=/usr/local/bin/:$PATH 74 | 75 | COPY auto_setup.sh /opt/xilinx/auto_setup.sh 76 | COPY .bashrc /root/.bashrc 77 | --------------------------------------------------------------------------------