@@ -39,28 +39,26 @@ ARG ADAPTER_TYPE
3939ENV ADAPTER_TYPE=${ADAPTER_TYPE}
4040RUN apt update && apt install -y --no-install-recommends gnupg wget python3 pip build-essential
4141
42- # Adding SGX repo to Ubuntu focal
43- RUN echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu focal main' > /etc/apt/sources.list.d/intel-sgx.list && \
44- wget https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key -O /tmp/intel-sgx-deb.key && \
45- apt-key add /tmp/intel-sgx-deb.key && \
46- rm /tmp/intel-sgx-deb.key
42+ # Adding SGX repo to Ubuntu jammy
43+ RUN echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu jammy main' | tee /etc/apt/sources.list.d/intel-sgx.list && \
44+ wget https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key && apt-key add intel-sgx-deb.key && cat intel-sgx-deb.key | tee /etc/apt/keyrings/intelsgx-keyring.asc > /dev/null
4745
4846WORKDIR /opt/intel
4947# Download SGX SDK binary
50- RUN /bin/bash -c "set -o pipefail && wget -q https://download.01.org/intel-sgx/sgx-linux/2.22/distro/ubuntu20 .04-server/sgx_linux_x64_sdk_${PSW_VERSION}.bin && \
48+ RUN /bin/bash -c "set -o pipefail && wget -q https://download.01.org/intel-sgx/sgx-linux/2.22/distro/ubuntu22 .04-server/sgx_linux_x64_sdk_${PSW_VERSION}.bin && \
5149 chmod +x sgx_linux_x64_sdk_${PSW_VERSION}.bin && \
5250 echo 'yes' | ./sgx_linux_x64_sdk_${PSW_VERSION}.bin"
5351
5452# Installing Linux SGX SDK
5553RUN apt-get update && apt-get install -y --no-install-recommends \
56- libsgx-urts=${PSW_VERSION}-focal1 \
54+ libsgx-urts=${PSW_VERSION}-jammy1 \
5755 libsgx-qe3-logic=${DCAP_VERSION} \
5856 libsgx-pce-logic=${DCAP_VERSION} \
5957 libsgx-dcap-ql=${DCAP_VERSION} \
6058 libsgx-dcap-ql-dev=${DCAP_VERSION} \
6159 libcurl4-openssl-dev \
6260 libsgx-dcap-default-qpl=${DCAP_VERSION} \
63- libsgx-quote-ex=${PSW_VERSION}-focal1
61+ libsgx-quote-ex=${PSW_VERSION}-jammy1
6462
6563COPY --from=build_base /app/dist/applications_security_amber_trustauthority_client_for_python-1.1.0-py3-none-any.whl .
6664RUN pip install applications_security_amber_trustauthority_client_for_python-1.1.0-py3-none-any.whl
0 commit comments