fix build issues
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Cloud Apache Container / Build-and-Push (74) (push) Successful in 2m44s
				
			
		
			
				
	
				Cloud Apache Container / Build-and-Push (80) (push) Successful in 1m38s
				
			
		
			
				
	
				Cloud Apache Container / Build-and-Push (81) (push) Successful in 8m24s
				
			
		
			
				
	
				Cloud Apache Container / Build-and-Push (82) (push) Successful in 5m1s
				
			
		
			
				
	
				Cloud Apache Container / Build-and-Push (83) (push) Successful in 7m30s
				
			
		
			
				
	
				Cloud Apache Container / Build-and-Push (84) (push) Successful in 8m55s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Cloud Apache Container / Build-and-Push (74) (push) Successful in 2m44s
				
			Cloud Apache Container / Build-and-Push (80) (push) Successful in 1m38s
				
			Cloud Apache Container / Build-and-Push (81) (push) Successful in 8m24s
				
			Cloud Apache Container / Build-and-Push (82) (push) Successful in 5m1s
				
			Cloud Apache Container / Build-and-Push (83) (push) Successful in 7m30s
				
			Cloud Apache Container / Build-and-Push (84) (push) Successful in 8m55s
				
			This commit is contained in:
		
							
								
								
									
										10
									
								
								Dockerfile
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								Dockerfile
									
									
									
									
									
								
							@@ -10,11 +10,13 @@ RUN dnf install -y \
 | 
				
			|||||||
    dnf clean all && \
 | 
					    dnf clean all && \
 | 
				
			||||||
    rm -rf /var/cache/dnf /usr/share/doc /usr/share/man /usr/share/locale/*
 | 
					    rm -rf /var/cache/dnf /usr/share/doc /usr/share/man /usr/share/locale/*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Generate self-signed cert, create needed dirs, copy scripts, set permissions, install PHP, clean up
 | 
					# Copy scripts into the image and set permissions
 | 
				
			||||||
 | 
					COPY ./scripts/ /scripts/
 | 
				
			||||||
 | 
					RUN chmod +x /scripts/*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Generate self-signed cert, create needed dirs, install PHP, clean up
 | 
				
			||||||
RUN openssl req -newkey rsa:2048 -nodes -keyout /etc/pki/tls/private/localhost.key -x509 -days 3650 -subj "/CN=localhost" -out /etc/pki/tls/certs/localhost.crt && \
 | 
					RUN openssl req -newkey rsa:2048 -nodes -keyout /etc/pki/tls/private/localhost.key -x509 -days 3650 -subj "/CN=localhost" -out /etc/pki/tls/certs/localhost.crt && \
 | 
				
			||||||
    mkdir -p /run/php-fpm/ /scripts && \
 | 
					    mkdir -p /run/php-fpm/ && \
 | 
				
			||||||
    cp -r /scripts/* /scripts/ && \
 | 
					 | 
				
			||||||
    chmod +x /scripts/* && \
 | 
					 | 
				
			||||||
    /scripts/install-php$PHPVER.sh && \
 | 
					    /scripts/install-php$PHPVER.sh && \
 | 
				
			||||||
    rm -rf /tmp/*
 | 
					    rm -rf /tmp/*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user