Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
Fix: remove aesm service and az-dcap-client
Browse files Browse the repository at this point in the history
Recommendation is to use Intel QPL instead of Azure DCAP on Ubuntu
22.04.

See microsoft/Azure-DCAP-Client#175.
  • Loading branch information
grydz committed Apr 3, 2024
1 parent d702e7e commit 5125e25
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ RUN apt-get update && apt-get install -y \
wget && \
rm -rf /var/lib/apt/lists/*

# Ubuntu focal-security repository
RUN echo "deb http://security.ubuntu.com/ubuntu focal-security main" | tee /etc/apt/sources.list.d/focal-security.list

# Gramine APT repository
RUN curl -fsSLo /usr/share/keyrings/gramine-keyring.gpg https://packages.gramineproject.io/gramine-keyring.gpg && \
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/gramine-keyring.gpg] https://packages.gramineproject.io/ jammy main" \
Expand All @@ -39,10 +36,6 @@ RUN curl -fsSLo /usr/share/keyrings/intel-sgx-deb.asc https://download.01.org/in
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/intel-sgx-deb.asc] https://download.01.org/intel-sgx/sgx_repo/ubuntu jammy main" \
| tee /etc/apt/sources.list.d/intel-sgx.list

# Microsoft APT repository
RUN echo "deb [arch=amd64] https://packages.microsoft.com/ubuntu/20.04/prod focal main" >> /etc/apt/sources.list.d/microsoft.list \
&& curl -fsSL https://packages.microsoft.com/keys/microsoft.asc | apt-key add -

# Install Intel SGX dependencies and Gramine
RUN apt-get update && apt-get install -y \
libsgx-launch \
Expand All @@ -52,9 +45,7 @@ RUN apt-get update && apt-get install -y \
libsgx-dcap-ql \
libsgx-dcap-quote-verify \
linux-base-sgx \
libssl1.1 \
az-dcap-client \
sgx-aesm-service \
libsgx-dcap-default-qpl \
libsgx-aesm-quote-ex-plugin \
gramine && \
rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit 5125e25

Please sign in to comment.