summaryrefslogtreecommitdiffstats
path: root/kud/deployment_infra/installers
diff options
context:
space:
mode:
authorTodd Malsbary <todd.malsbary@intel.com>2021-06-04 12:56:31 -0700
committerTodd Malsbary <todd.malsbary@intel.com>2021-06-04 13:47:56 -0700
commitdc925231a978d1ae4dce969cb4c386d4a1b0bb87 (patch)
tree93bd57975e06ce830832fd8fe2785fcc8876319e /kud/deployment_infra/installers
parent99f2be307f194e1f6a60e4098e82f6775c8dad5b (diff)
Expose installer ENV vars through Dockerfile
Issue-ID: MULTICLOUD-1324 Signed-off-by: Todd Malsbary <todd.malsbary@intel.com> Change-Id: Ie913d3f26d039fae0bff98149ebe0a6e6dea2ebd
Diffstat (limited to 'kud/deployment_infra/installers')
-rw-r--r--kud/deployment_infra/installers/Dockerfile.iavf-driver-installer4
-rw-r--r--kud/deployment_infra/installers/Dockerfile.qat-driver-installer4
-rwxr-xr-xkud/deployment_infra/installers/entrypoint-iavf-driver-installer.sh2
3 files changed, 9 insertions, 1 deletions
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}"