From dc925231a978d1ae4dce969cb4c386d4a1b0bb87 Mon Sep 17 00:00:00 2001 From: Todd Malsbary Date: Fri, 4 Jun 2021 12:56:31 -0700 Subject: Expose installer ENV vars through Dockerfile Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary Change-Id: Ie913d3f26d039fae0bff98149ebe0a6e6dea2ebd --- kud/deployment_infra/installers/Dockerfile.iavf-driver-installer | 4 ++++ kud/deployment_infra/installers/Dockerfile.qat-driver-installer | 4 ++++ kud/deployment_infra/installers/entrypoint-iavf-driver-installer.sh | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/kud/deployment_infra/installers/Dockerfile.iavf-driver-installer b/kud/deployment_infra/installers/Dockerfile.iavf-driver-installer index 9bbfd372..9882c2f7 100644 --- a/kud/deployment_infra/installers/Dockerfile.iavf-driver-installer +++ b/kud/deployment_infra/installers/Dockerfile.iavf-driver-installer @@ -1,5 +1,9 @@ FROM ubuntu:18.04 +ENV IAVF_DRIVER_VERSION=4.0.2 +ENV IAVF_DRIVER_DOWNLOAD_URL=https://downloadmirror.intel.com/30305/eng/iavf-${IAVF_DRIVER_VERSION}.tar.gz +ENV IAVF_INSTALL_DIR_HOST=/opt/iavf + RUN apt-get update && \ apt-get install -y \ bc \ diff --git a/kud/deployment_infra/installers/Dockerfile.qat-driver-installer b/kud/deployment_infra/installers/Dockerfile.qat-driver-installer index 7d885a59..b85d0e23 100644 --- a/kud/deployment_infra/installers/Dockerfile.qat-driver-installer +++ b/kud/deployment_infra/installers/Dockerfile.qat-driver-installer @@ -1,5 +1,9 @@ FROM ubuntu:18.04 +ENV QAT_DRIVER_VERSION=1.7.l.4.12.0-00011 +ENV QAT_DRIVER_DOWNLOAD_URL=https://01.org/sites/default/files/downloads/qat${QAT_DRIVER_VERSION}.tar.gz +ENV QAT_INSTALL_DIR_HOST=/opt/qat + RUN apt-get update && \ apt-get install -y \ bc \ diff --git a/kud/deployment_infra/installers/entrypoint-iavf-driver-installer.sh b/kud/deployment_infra/installers/entrypoint-iavf-driver-installer.sh index 1418d0df..6cfc373d 100755 --- a/kud/deployment_infra/installers/entrypoint-iavf-driver-installer.sh +++ b/kud/deployment_infra/installers/entrypoint-iavf-driver-installer.sh @@ -4,7 +4,7 @@ source _common.sh IAVF_DRIVER_VERSION="${IAVF_DRIVER_VERSION:-4.0.2}" -IAVF_DRIVER_DOWNLOAD_URL_DEFAULT="https://downloadmirror.intel.com/24693/eng/iavf-${IAVF_DRIVER_VERSION}.tar.gz" +IAVF_DRIVER_DOWNLOAD_URL_DEFAULT="https://downloadmirror.intel.com/30305/eng/iavf-${IAVF_DRIVER_VERSION}.tar.gz" IAVF_DRIVER_DOWNLOAD_URL="${IAVF_DRIVER_DOWNLOAD_URL:-$IAVF_DRIVER_DOWNLOAD_URL_DEFAULT}" IAVF_DRIVER_ARCHIVE="$(basename "${IAVF_DRIVER_DOWNLOAD_URL}")" IAVF_INSTALL_DIR_HOST="${IAVF_INSTALL_DIR_HOST:-/opt/iavf}" -- cgit 1.2.3-korg