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 \
73
73
WORKDIR /installer
74
74
COPY --from=builder /linux-sgx/linux/installer/bin/*.bin ./
75
75
RUN ./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
77
77
WORKDIR /opt/intel/sgxpsw/aesm/
78
78
ENV LD_LIBRARY_PATH=.
79
79
CMD ./aesm_service --no-daemon
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ RUN apt-get install -y \
77
77
# More aesm plugins, e.g libsgx-aesm-quote-ex-plugin, are needed if application requires attestation. See installation guide.
78
78
RUN apt-get install -y libsgx-aesm-launch-plugin
79
79
80
- USER aesmd
80
+ # Run the aesm service as root to ensure its access to /dev/sgx/provision
81
81
WORKDIR /opt/intel/sgx-aesm-service/aesm
82
82
ENV LD_LIBRARY_PATH=.
83
83
CMD ./aesm_service --no-daemon
You can’t perform that action at this time.
0 commit comments