Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion docker/build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,23 @@ ENV BUILD_PLATFORM="docker"
RUN make deb_local_repo

FROM ubuntu:22.04 as aesm
RUN apt-get update && apt-get install -y \
curl \
gnupg \
apt-transport-https \
ca-certificates

RUN curl -fsSL https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | apt-key add - && \
echo "deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu jammy main" > /etc/apt/sources.list.d/intel-sgx.list && \
apt-get update

RUN apt-get update && apt-get install -y \
libcurl4-openssl-dev \
libprotobuf-dev \
libssl-dev \
make
make \
libsgx-dcap-ql \
libsgx-dcap-default-qpl

WORKDIR /installer
COPY --from=builder /linux-sgx/linux/installer/bin/*.bin ./
Expand Down
6 changes: 3 additions & 3 deletions docker/build/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ services:
aesm:
image: sgx_aesm
devices:
- /dev/sgx/enclave
- /dev/sgx/provision
- /dev/sgx_enclave
- /dev/sgx_provision
volumes:
- aesmd-socket:/var/run/aesmd
stdin_open: true
Expand All @@ -51,7 +51,7 @@ services:
depends_on:
- aesm
devices:
- /dev/sgx/enclave
- /dev/sgx_enclave
volumes:
- aesmd-socket:/var/run/aesmd
stdin_open: true
Expand Down