|
@@ -24,7 +24,15 @@ RUN addgroup sgx
|
|
RUN addgroup sgx_prv
|
|
RUN addgroup sgx_prv
|
|
RUN adduser aesmd sgx
|
|
RUN adduser aesmd sgx
|
|
RUN adduser aesmd sgx_prv
|
|
RUN adduser aesmd sgx_prv
|
|
-COPY start-aesmd /usr/local/sbin
|
|
|
|
|
|
+COPY docker/start-aesmd /usr/local/sbin
|
|
RUN chown aesmd.aesmd /var/run/aesmd
|
|
RUN chown aesmd.aesmd /var/run/aesmd
|
|
RUN chmod 755 /usr/local/sbin/start-aesmd
|
|
RUN chmod 755 /usr/local/sbin/start-aesmd
|
|
ENTRYPOINT ["/usr/local/sbin/start-aesmd"]
|
|
ENTRYPOINT ["/usr/local/sbin/start-aesmd"]
|
|
|
|
+
|
|
|
|
+FROM sgx
|
|
|
|
+WORKDIR /root
|
|
|
|
+RUN apt update && apt install -y libboost-dev libboost-thread-dev \
|
|
|
|
+ numactl python3-numpy python3-yaml
|
|
|
|
+COPY . teems
|
|
|
|
+WORKDIR /root/teems
|
|
|
|
+RUN make -j`nproc` App/teems Enclave/enclave.so Client/clients
|