File tree 1 file changed +13
-10
lines changed
intel-sgx/ppid-decryption-tool
1 file changed +13
-10
lines changed Original file line number Diff line number Diff line change @@ -13,22 +13,25 @@ RUN apt-get update && apt-get install -y \
13
13
gnupg \
14
14
wget
15
15
16
- RUN echo 'deb [arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu jammy main' > /etc/apt/sources.list.d/intel-sgx.list
17
- RUN wget -qO - https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key | apt-key add -
18
- RUN apt-get update
19
-
20
16
# App build time dependencies
17
+ RUN apt-get update
21
18
RUN apt-get install -y build-essential
22
19
23
20
WORKDIR /opt/intel
24
- RUN wget https://download.01.org/intel-sgx/sgx-linux/2.22 /distro/ubuntu22 .04-server/sgx_linux_x64_sdk_2.22 .100.3.bin
25
- RUN chmod +x sgx_linux_x64_sdk_2.22 .100.3.bin
26
- RUN echo 'yes' | ./sgx_linux_x64_sdk_2.22 .100.3.bin
21
+ RUN wget https://download.01.org/intel-sgx/sgx-linux/2.25 /distro/ubuntu24 .04-server/sgx_linux_x64_sdk_2.25 .100.3.bin
22
+ RUN chmod +x sgx_linux_x64_sdk_2.25 .100.3.bin
23
+ RUN echo 'yes' | ./sgx_linux_x64_sdk_2.25 .100.3.bin
27
24
28
- # Setup aesmd service in container
25
+ # Install SGX runtime libraries
29
26
USER root
30
- RUN bash -c 'mkdir /var/run/aesmd'
31
- RUN bash -c 'chown -c ppid-tool /var/run/aesmd'
27
+ RUN apt-get install -y sudo
28
+ RUN echo 'deb [signed-by=/etc/apt/keyrings/intel-sgx-keyring.asc arch=amd64] https://download.01.org/intel-sgx/sgx_repo/ubuntu noble main' | sudo tee /etc/apt/sources.list.d/intel-sgx.list
29
+ RUN wget https://download.01.org/intel-sgx/sgx_repo/ubuntu/intel-sgx-deb.key
30
+ RUN cat intel-sgx-deb.key | sudo tee /etc/apt/keyrings/intel-sgx-keyring.asc > /dev/null
31
+ RUN apt-get update
32
+ RUN apt-get upgrade -y
33
+ RUN apt-get update
34
+ RUN apt-get install -y libsgx-urts
32
35
33
36
# Preparing to build PCKIDRetrievalTool
34
37
FROM sgx_sdk
You can’t perform that action at this time.
0 commit comments