File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ RUN apt-get update && apt-get install -y \
7373WORKDIR /installer
7474COPY --from=builder /linux-sgx/linux/installer/bin/*.bin ./
7575RUN ./sgx_linux_x64_psw*.bin --no-start-aesm
76- USER aesmd
76+ # Run the aesm service as root to ensure its access to /dev/sgx/provision
7777WORKDIR /opt/intel/sgxpsw/aesm/
7878ENV LD_LIBRARY_PATH=.
7979CMD ./aesm_service --no-daemon
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ RUN apt-get install -y \
7777# More aesm plugins, e.g libsgx-aesm-quote-ex-plugin, are needed if application requires attestation. See installation guide.
7878RUN apt-get install -y libsgx-aesm-launch-plugin
7979
80- USER aesmd
80+ # Run the aesm service as root to ensure its access to /dev/sgx/provision
8181WORKDIR /opt/intel/sgx-aesm-service/aesm
8282ENV LD_LIBRARY_PATH=.
8383CMD ./aesm_service --no-daemon
You can’t perform that action at this time.
0 commit comments