Skip to content

Commit b8f6b8d

Browse files
committed
demo: update OpenSSL QAT engine and QAT HAL versions in containers
Also, move from ENV to ARG to be able to override the versions using --build-arg option. Note: releases qat1.7.l.4.3.0-00033 and older do not have consistent download URLs so wget'ing those will fail from this commit onwards. Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
1 parent c012af6 commit b8f6b8d

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

demo/openssl-qat-engine/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
FROM debian:sid as builder
22

3-
ENV QAT_DRIVER_RELEASE="qat1.7.l.4.3.0-00033"
4-
ENV QAT_ENGINE_VERSION="v0.5.41"
3+
ARG QAT_DRIVER_RELEASE="qat1.7.l.4.6.0-00025"
4+
ARG QAT_ENGINE_VERSION="v0.5.42"
55

66
RUN apt-get update && \
77
apt-get install -y git build-essential wget libssl-dev openssl libudev-dev pkg-config autoconf autogen libtool gawk && \
88
git clone https://github.com/intel/QAT_Engine && \
9-
wget https://01.org/sites/default/files/downloads/intelr-quickassist-technology/$QAT_DRIVER_RELEASE.tar.gz && \
10-
tar zxf $QAT_DRIVER_RELEASE.tar.gz
9+
wget https://01.org/sites/default/files/downloads/$QAT_DRIVER_RELEASE.tar.gz && \
10+
tar xf *.tar.gz
1111

1212

1313
RUN sed -i -e 's/cmn_ko$//' -e 's/lac_kernel$//' quickassist/Makefile && \

demo/openssl-qat-engine/Dockerfile.clear

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
FROM clearlinux:base as builder
22

3-
ENV QAT_DRIVER_RELEASE="qat1.7.l.4.3.0-00033"
4-
ENV QAT_ENGINE_VERSION="v0.5.41"
3+
ARG QAT_DRIVER_RELEASE="qat1.7.l.4.6.0-00025"
4+
ARG QAT_ENGINE_VERSION="v0.5.42"
55

66
# add trusted CAs
77
RUN rm -rf /run/lock/clrtrust.lock && \
88
clrtrust generate && \
99
swupd bundle-add --skip-diskspace-check devpkg-systemd devpkg-openssl c-basic wget git && \
1010
git clone https://github.com/intel/QAT_Engine && \
11-
wget https://01.org/sites/default/files/downloads/intelr-quickassist-technology/$QAT_DRIVER_RELEASE.tar.gz && \
12-
tar zxf $QAT_DRIVER_RELEASE.tar.gz
11+
wget https://01.org/sites/default/files/downloads/$QAT_DRIVER_RELEASE.tar.gz && \
12+
tar xf *.tar.gz
1313

1414
RUN sed -i -e 's/cmn_ko$//' -e 's/lac_kernel$//' quickassist/Makefile && \
1515
KERNEL_SOURCE_ROOT=/tmp ./configure && \

0 commit comments

Comments
 (0)