mirror of
				https://github.com/bensuperpc/dockcross.git
				synced 2025-10-30 07:36:24 +01:00 
			
		
		
		
	 5f5a890714
			
		
	
	5f5a890714
	
	
	
		
			
			Simplify all common.* files by simply removing the "buildscripts" directory instead of listing each script one by one.
		
			
				
	
	
		
			28 lines
		
	
	
		
			634 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			634 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| # Image build scripts
 | |
| COPY \
 | |
|   imagefiles/install-gosu-binary.sh \
 | |
|   manylinux-common/install-python-packages.sh \
 | |
|   /buildscripts/
 | |
| 
 | |
| RUN \
 | |
|   set -x && \
 | |
|   yum -y install \
 | |
|     epel-release \
 | |
|     gpg \
 | |
|     zlib-devel \
 | |
|     gettext \
 | |
|     openssh-clients \
 | |
|     pax \
 | |
|     zip \
 | |
|   && \
 | |
| 	yum clean all && \
 | |
| 	/buildscripts/install-gosu-binary.sh && \
 | |
|   # Remove sudo provided by "devtoolset-2" since it doesn't work with
 | |
|   # our sudo wrapper calling gosu.
 | |
|   rm /opt/rh/devtoolset-2/root/usr/bin/sudo && \
 | |
|   /buildscripts/install-python-packages.sh && \
 | |
|   rm -rf /buildscripts
 | |
| 
 | |
| # Runtime scripts
 | |
| COPY manylinux-common/pre_exec.sh /dockcross/
 |