Skip to content

Commit

Permalink
openssl-qat-engine: update component versions
Browse files Browse the repository at this point in the history
Signed-off-by: Mikko Ylinen <[email protected]>
  • Loading branch information
mythi committed Aug 29, 2022
1 parent d826548 commit 326f102
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions demo/openssl-qat-engine/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM ubuntu:20.04 as builder
FROM ubuntu:22.04 as builder

ARG QATLIB_VERSION="22.07.0"
ARG QAT_ENGINE_VERSION="v0.6.13"
ARG QAT_ENGINE_VERSION="v0.6.15"
ARG ASYNC_NGINX_VERSION="v0.4.7"
ARG IPSEC_MB_VERSION="v1.2"
ARG IPP_CRYPTO_VERSION="ippcp_2021.5"
ARG IPP_CRYPTO_VERSION="ippcp_2021.6"

RUN apt update && \
env DEBIAN_FRONTEND=noninteractive apt install -y \
Expand Down Expand Up @@ -50,8 +50,7 @@ RUN cd /intel-ipsec-mb && \
RUN cd /QAT_Engine && \
./autogen.sh && \
./configure \
--enable-qat_sw \
--with-qat_sw_install_dir=/usr/local && \
--enable-qat_sw && \
make && make install

RUN cd /asynch_mode_nginx && \
Expand All @@ -69,14 +68,14 @@ RUN cd /asynch_mode_nginx && \
--with-ld-opt="-L/src" && \
make && make install

FROM ubuntu:20.04
FROM ubuntu:22.04

COPY --from=builder /usr/bin/*_sample* /usr/bin/
COPY --from=builder /usr/lib/libqat.so.3.0.0 /usr/lib/
COPY --from=builder /usr/lib/libusdm.so.0.0.1 /usr/lib/
COPY --from=builder /usr/lib64/libIPSec_MB.so.1 /usr/lib/x86_64-linux-gnu/
COPY --from=builder /usr/local/lib/libcrypto_mb.so.11.3 /usr/lib/x86_64-linux-gnu/
COPY --from=builder /usr/lib/x86_64-linux-gnu/engines-1.1/qatengine.so /usr/lib/x86_64-linux-gnu/engines-1.1/qatengine.so
COPY --from=builder /usr/local/lib/libcrypto_mb.so.11.4 /usr/lib/x86_64-linux-gnu/
COPY --from=builder /usr/lib/x86_64-linux-gnu/engines-3/qatengine.so /usr/lib/x86_64-linux-gnu/engines-3/qatengine.so
COPY --from=builder /var/www/ /var/www/
COPY --from=builder /usr/lib64/nginx/* /usr/lib64/nginx/
COPY --from=builder /usr/bin/nginx /usr/bin
Expand Down

0 comments on commit 326f102

Please sign in to comment.