Use a base image with ca-certificates installed.
This commit is contained in:
		
							parent
							
								
									73b59a8254
								
							
						
					
					
						commit
						a1b53923ac
					
				
							
								
								
									
										5
									
								
								.ci/server-base-image/Containerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								.ci/server-base-image/Containerfile
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,5 @@
 | 
				
			|||||||
 | 
					FROM debian:bookworm-slim
 | 
				
			||||||
 | 
					RUN apt-get -y update && \
 | 
				
			||||||
 | 
					    apt-get -y install \
 | 
				
			||||||
 | 
					    ca-certificates && \
 | 
				
			||||||
 | 
					    rm -rf /var/lib/apt/lists/*
 | 
				
			||||||
							
								
								
									
										4
									
								
								.ci/server-base-image/push-image.sh
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										4
									
								
								.ci/server-base-image/push-image.sh
									
									
									
									
									
										Executable file
									
								
							@ -0,0 +1,4 @@
 | 
				
			|||||||
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					sudo podman build -t quay.io/blasthavers/worldwideportal-baseimg:latest .
 | 
				
			||||||
 | 
					sudo podman push quay.io/blasthavers/worldwideportal-baseimg:latest
 | 
				
			||||||
@ -1,4 +1,4 @@
 | 
				
			|||||||
FROM debian:bookworm-slim
 | 
					FROM quay.io/blasthavers/worldwideportal-baseimg
 | 
				
			||||||
COPY wwpapp /frontendstatic
 | 
					COPY wwpapp /frontendstatic
 | 
				
			||||||
COPY wwpserver/worldwideportal-server /bin/worldwideportal-server
 | 
					COPY wwpserver/worldwideportal-server /bin/worldwideportal-server
 | 
				
			||||||
ENTRYPOINT ["/bin/worldwideportal-server"]
 | 
					ENTRYPOINT ["/bin/worldwideportal-server"]
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user