16 lines
		
	
	
		
			456 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			456 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
ARG OCCLUM_VERSION
 | 
						|
FROM occlum/occlum:$OCCLUM_VERSION-ubuntu20.04 as base
 | 
						|
LABEL maintainer="He Sun <bochang.sh@antgroup.com>"
 | 
						|
 | 
						|
# Install gvisor syscall test binaries
 | 
						|
WORKDIR /root
 | 
						|
RUN git clone -b occlum-release-20200921.0 https://github.com/occlum/gvisor.git && \
 | 
						|
    cd gvisor/occlum && \
 | 
						|
    ./prepare_bazel.sh && \
 | 
						|
    ./build_and_install_syscall_tests.sh && \
 | 
						|
    cd /root && \
 | 
						|
    mv gvisor/occlum gvisor_occlum && \
 | 
						|
    rm -rf gvisor
 | 
						|
 | 
						|
WORKDIR /root
 |