Skip to content

Commit e262d5e

Browse files
authored
Merge pull request #1259 from mythi/PR-2022-081
demo image updates to Ubuntu 22.04
2 parents ce4ae42 + 4eb8190 commit e262d5e

File tree

5 files changed

+19
-19
lines changed

5 files changed

+19
-19
lines changed

Makefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,7 @@ pre-pull:
176176
ifeq ($(TAG),devel)
177177
@$(BUILDER) pull golang:1.19-bullseye
178178
@$(BUILDER) pull debian:unstable-slim
179-
@$(BUILDER) pull clearlinux:latest
180-
@$(BUILDER) pull ubuntu:20.04
179+
@$(BUILDER) pull ubuntu:22.04
181180
endif
182181

183182
dockerlib = build/docker/lib

demo/intel-opencl-icd/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
FROM ubuntu:20.04
1+
FROM ubuntu:22.04
22

33
ARG APT="env DEBIAN_FRONTEND=noninteractive apt"
44

55
RUN ${APT} update && ${APT} install -y curl gpg-agent \
6-
&& echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/graphics/ubuntu focal main' | \
6+
&& echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/graphics/ubuntu jammy main' | \
77
tee -a /etc/apt/sources.list.d/intel.list \
88
&& curl -s https://repositories.intel.com/graphics/intel-graphics.key | \
99
gpg --dearmor --output /usr/share/keyrings/intel-graphics.gpg \

demo/openssl-qat-engine/Dockerfile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM ubuntu:22.04 as builder
22

3-
ARG QATLIB_VERSION="22.07.0"
4-
ARG QAT_ENGINE_VERSION="v0.6.16"
5-
ARG ASYNC_NGINX_VERSION="v0.4.7"
3+
ARG QATLIB_VERSION="22.07.2"
4+
ARG QAT_ENGINE_VERSION="v0.6.17"
5+
ARG ASYNC_NGINX_VERSION="v0.4.9"
66
ARG IPSEC_MB_VERSION="v1.3"
77
ARG IPP_CRYPTO_VERSION="ippcp_2021.6"
88

@@ -18,7 +18,7 @@ RUN apt update && \
1818
zlib1g-dev \
1919
wget \
2020
git \
21-
yasm \
21+
nasm \
2222
autoconf \
2323
cmake \
2424
libtool && \
@@ -71,7 +71,7 @@ RUN cd /asynch_mode_nginx && \
7171
FROM ubuntu:22.04
7272

7373
COPY --from=builder /usr/bin/*_sample* /usr/bin/
74-
COPY --from=builder /usr/lib/libqat.so.3.0.0 /usr/lib/
74+
COPY --from=builder /usr/lib/libqat.so.3.0.2 /usr/lib/
7575
COPY --from=builder /usr/lib/libusdm.so.0.0.1 /usr/lib/
7676
COPY --from=builder /usr/lib64/libIPSec_MB.so.1 /usr/lib/x86_64-linux-gnu/
7777
COPY --from=builder /usr/local/lib/libcrypto_mb.so.11.4 /usr/lib/x86_64-linux-gnu/

demo/sgx-aesmd-demo/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# This Dockerfile is currently provided as a reference to build aesmd with ECDSA attestation
22
# but is not published along with the device plugin container images.
3-
FROM ubuntu:20.04
3+
FROM ubuntu:22.04
44

55
RUN apt update && apt install -y curl gnupg-agent \
6-
&& echo "deb [arch=amd64 signed-by=/usr/share/keyrings/intel-sgx.gpg] https://download.01.org/intel-sgx/sgx_repo/ubuntu focal main" | \
6+
&& echo "deb [arch=amd64 signed-by=/usr/share/keyrings/intel-sgx.gpg] https://download.01.org/intel-sgx/sgx_repo/ubuntu jammy main" | \
77
tee -a /etc/apt/sources.list.d/intel-sgx.list \
88
&& curl -s https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | \
99
gpg --dearmor --output /usr/share/keyrings/intel-sgx.gpg \

demo/sgx-sdk-demo/Dockerfile

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:20.04 AS builder
1+
FROM ubuntu:22.04 AS builder
22

33
WORKDIR /root
44

@@ -23,10 +23,9 @@ RUN apt-get update && \
2323
# SGX SDK is installed in /opt/intel directory.
2424
WORKDIR /opt/intel
2525

26-
ARG SGX_SDK_INSTALLER=sgx_linux_x64_sdk_2.17.101.1.bin
27-
ARG DCAP_VERSION=DCAP_1.14
26+
ARG DCAP_VERSION=DCAP_1.15
2827

29-
RUN echo "deb [arch=amd64 signed-by=/usr/share/keyrings/intel-sgx.gpg] https://download.01.org/intel-sgx/sgx_repo/ubuntu focal main" | \
28+
RUN echo "deb [arch=amd64 signed-by=/usr/share/keyrings/intel-sgx.gpg] https://download.01.org/intel-sgx/sgx_repo/ubuntu jammy main" | \
3029
tee -a /etc/apt/sources.list.d/intel-sgx.list \
3130
&& wget -qO - https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | \
3231
gpg --dearmor --output /usr/share/keyrings/intel-sgx.gpg \
@@ -37,8 +36,10 @@ RUN echo "deb [arch=amd64 signed-by=/usr/share/keyrings/intel-sgx.gpg] https://d
3736
libsgx-quote-ex-dev
3837

3938
# Install SGX SDK
40-
RUN wget https://download.01.org/intel-sgx/sgx-linux/2.17.1/distro/ubuntu20.04-server/$SGX_SDK_INSTALLER \
41-
&& chmod +x $SGX_SDK_INSTALLER \
39+
ARG SGX_SDK_URL=https://download.01.org/intel-sgx/sgx-linux/2.18/distro/ubuntu22.04-server/sgx_linux_x64_sdk_2.18.100.3.bin
40+
RUN wget ${SGX_SDK_URL} \
41+
&& export SGX_SDK_INSTALLER=$(basename $SGX_SDK_URL) \
42+
&& chmod +x $SGX_SDK_INSTALLER \
4243
&& echo "yes" | ./$SGX_SDK_INSTALLER \
4344
&& rm $SGX_SDK_INSTALLER
4445

@@ -54,15 +55,15 @@ RUN cd SGXDataCenterAttestationPrimitives/SampleCode/QuoteGenerationSample \
5455
&& make \
5556
&& cd -
5657

57-
FROM ubuntu:20.04
58+
FROM ubuntu:22.04
5859

5960
RUN apt-get update && \
6061
apt-get install -y \
6162
wget \
6263
gnupg-agent
6364

6465
# Add 01.org to apt for SGX packages and install SGX runtime components
65-
RUN echo "deb [arch=amd64 signed-by=/usr/share/keyrings/intel-sgx.gpg] https://download.01.org/intel-sgx/sgx_repo/ubuntu focal main" | \
66+
RUN echo "deb [arch=amd64 signed-by=/usr/share/keyrings/intel-sgx.gpg] https://download.01.org/intel-sgx/sgx_repo/ubuntu jammy main" | \
6667
tee -a /etc/apt/sources.list.d/intel-sgx.list \
6768
&& wget -qO - https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | \
6869
gpg --dearmor --output /usr/share/keyrings/intel-sgx.gpg \

0 commit comments

Comments
 (0)