[dockerfile] Add grpc_ratls build and install in Occlum dockerfile
This commit is contained in:
		
							parent
							
								
									1a50b8a66b
								
							
						
					
					
						commit
						b7c5e883d5
					
				| @ -183,6 +183,7 @@ COPY --from=alpine /usr/lib/jvm/java-1.8-openjdk $JDK8_PATH | ||||
| RUN rm $JDK8_PATH/jre/lib/security/cacerts | ||||
| COPY --from=alpine /etc/ssl/certs/java/cacerts $JDK8_PATH/jre/lib/security/cacerts | ||||
| 
 | ||||
| # Install Occlum | ||||
| WORKDIR /root | ||||
| RUN cd occlum && \ | ||||
|     source /opt/intel/sgxsdk/environment && \ | ||||
| @ -192,6 +193,11 @@ RUN cd occlum && \ | ||||
|     cp -r demos /root/demos && \ | ||||
|     rm -rf /root/occlum | ||||
| 
 | ||||
| # Install GRPC RATLS | ||||
| # Do after installing Occlum is because it depends on the dcap library. | ||||
| WORKDIR /tmp | ||||
| RUN cd grpc_ratls && ./build.sh && rm -rf /tmp/grpc_ratls | ||||
| 
 | ||||
| # Start AESM service automatically | ||||
| # | ||||
| # To do so, we add the script to ~/.bashrc. We cannot use systemd to run AESM | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user