Skip to content

Commit c6c6cb3

Browse files
krithikxYogaraj-Alamenda
authored andcommitted
Dockerfile version bump to 1.9.0 and vulnerability fix.
Signed-off-by: Krithika Kumaravelu <krithikax.kumaravelu@intel.com>
1 parent 261c04f commit c6c6cb3

File tree

3 files changed

+19
-13
lines changed

3 files changed

+19
-13
lines changed

dockerfiles/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ in step 2 depending on the particular use case. Configure the required service o
3535

3636
2. Set up the required crypto service(s)
3737
```
38-
for i in `lspci -D -d :4940| awk '{print $1}'`; do echo “sym;asym “ > /sys/bus/pci/devices/$i/qat/cfg_services;done
38+
for i in `lspci -D -d :4940| awk '{print $1}'`; do echo “sym;asym“ > /sys/bus/pci/devices/$i/qat/cfg_services;done
3939
```
4040

4141
3. Bring up the QAT devices
@@ -55,13 +55,13 @@ in step 2 depending on the particular use case. Configure the required service o
5555

5656
6. Add QAT group and Permission to the VF devices in the host
5757
```
58-
chown root.qat /dev/vfio/*
58+
chown root:qat /dev/vfio/*
5959
chmod 660 /dev/vfio/*
6060
```
6161

6262
### Image creation
6363

64-
Docker images can be build using the below command with appropiate image name.
64+
Docker images can be built using the below command with appropriate image name.
6565

6666
```
6767
docker build --build-arg GID=$(getent group qat | cut -d ':' -f 3) -t <docker_image_name> <path-to-dockerfile> --no-cache

dockerfiles/haproxy/Dockerfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# \
44
# BSD LICENSE \
55
# \
6-
# Copyright(c) 2024-2025 Intel Corporation. \
6+
# Copyright(c) 2024-2025 Intel Corporation. \
77
# All rights reserved. \
88
# \
99
# Redistribution and use in source and binary forms, with or without \
@@ -38,11 +38,11 @@
3838
ARG UBUNTU_BASE=ubuntu:22.04
3939
FROM ${UBUNTU_BASE} AS builder
4040

41-
ARG OPENSSL_VERSION="openssl-3.0.15"
41+
ARG OPENSSL_VERSION="openssl-3.0.16"
4242
ARG QATLIB_VERSION="24.02.0"
43-
ARG QAT_ENGINE_VERSION="v1.8.1"
43+
ARG QAT_ENGINE_VERSION="v1.9.0"
4444
ARG IPSEC_MB_VERSION="v2.0"
45-
ARG IPP_CRYPTO_VERSION="v1.0.0"
45+
ARG IPP_CRYPTO_VERSION="v1.1.0"
4646
ARG HAPROXY_VERSION="v2.8.0"
4747
ARG GID
4848
ENV DEBIAN_FRONTEND=noninteractive
@@ -153,11 +153,14 @@ RUN apt-get purge -y linux-libc-dev
153153

154154
FROM ${UBUNTU_BASE}
155155

156+
RUN apt-get update && \
157+
apt-get upgrade -y
158+
156159
COPY --from=builder /usr/local/lib/libqat.so.4.2.0 /usr/lib/
157160
COPY --from=builder /usr/local/lib/libusdm.so.0.1.0 /usr/lib/
158161
COPY --from=builder /usr/local/lib/libIPSec_MB.so.2.0.0 /usr/lib/x86_64-linux-gnu/
159162
COPY --from=builder /usr/local/lib64/libcrypto.so.3 /usr/lib/x86_64-linux-gnu/
160-
COPY --from=builder /usr/local/lib/libcrypto_mb.so.12.0 /usr/lib/x86_64-linux-gnu/
163+
COPY --from=builder /usr/local/lib/intel64/libcrypto_mb.so.12.1 /usr/lib/x86_64-linux-gnu/
161164
COPY --from=builder /usr/local/bin/openssl /usr/bin/
162165
COPY --from=builder /usr/local/lib64/engines-3/qatengine.so /usr/lib/x86_64-linux-gnu/engines-3/qatengine.so
163166
COPY --from=builder /etc/group /etc/group

dockerfiles/qat_crypto_base/Dockerfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# \
44
# BSD LICENSE \
55
# \
6-
# Copyright(c) 2024-2025 Intel Corporation. \
6+
# Copyright(c) 2024-2025 Intel Corporation. \
77
# All rights reserved. \
88
# \
99
# Redistribution and use in source and binary forms, with or without \
@@ -38,11 +38,11 @@
3838
ARG UBUNTU_BASE=ubuntu:22.04
3939
FROM ${UBUNTU_BASE} AS builder
4040

41-
ARG OPENSSL_VERSION="openssl-3.0.15"
41+
ARG OPENSSL_VERSION="openssl-3.0.16"
4242
ARG QATLIB_VERSION="24.02.0"
43-
ARG QAT_ENGINE_VERSION="v1.8.1"
43+
ARG QAT_ENGINE_VERSION="v1.9.0"
4444
ARG IPSEC_MB_VERSION="v2.0"
45-
ARG IPP_CRYPTO_VERSION="v1.0.0"
45+
ARG IPP_CRYPTO_VERSION="v1.1.0"
4646
ARG GID
4747
ENV DEBIAN_FRONTEND=noninteractive
4848

@@ -138,11 +138,14 @@ RUN apt-get purge -y linux-libc-dev
138138

139139
FROM ${UBUNTU_BASE}
140140

141+
RUN apt-get update && \
142+
apt-get upgrade -y
143+
141144
COPY --from=builder /usr/local/lib/libqat.so.4.2.0 /usr/lib/
142145
COPY --from=builder /usr/local/lib/libusdm.so.0.1.0 /usr/lib/
143146
COPY --from=builder /usr/local/lib/libIPSec_MB.so.2.0.0 /usr/lib/x86_64-linux-gnu/
144147
COPY --from=builder /usr/local/lib64/libcrypto.so.3 /usr/lib/x86_64-linux-gnu/
145-
COPY --from=builder /usr/local/lib/libcrypto_mb.so.12.0 /usr/lib/x86_64-linux-gnu/
148+
COPY --from=builder /usr/local/lib/intel64/libcrypto_mb.so.12.1 /usr/lib/x86_64-linux-gnu/
146149
COPY --from=builder /usr/local/bin/openssl /usr/bin/
147150
COPY --from=builder /usr/local/lib64/engines-3/qatengine.so /usr/lib/x86_64-linux-gnu/engines-3/
148151
COPY --from=builder /etc/group /etc/group

0 commit comments

Comments
 (0)