mirror of
				https://github.com/thib8956/nginx-proxy
				synced 2025-11-03 18:49:20 +00:00 
			
		
		
		
	refactor: remove already present or unneeded dependencies
This commit is contained in:
		@@ -14,11 +14,7 @@ ENV NGINX_PROXY_VERSION=${NGINX_PROXY_VERSION} \
 | 
			
		||||
   DOCKER_HOST=unix:///tmp/docker.sock
 | 
			
		||||
 | 
			
		||||
# Install dependencies
 | 
			
		||||
RUN apk add --no-cache --virtual .run-deps \
 | 
			
		||||
   bash \
 | 
			
		||||
   ca-certificates \
 | 
			
		||||
   openssl \
 | 
			
		||||
   && update-ca-certificates
 | 
			
		||||
RUN apk add --no-cache --virtual .run-deps bash
 | 
			
		||||
 | 
			
		||||
# Configure Nginx
 | 
			
		||||
RUN sed -i 's/worker_connections  1024/worker_connections  10240/' /etc/nginx/nginx.conf \
 | 
			
		||||
 
 | 
			
		||||
@@ -13,12 +13,6 @@ ENV NGINX_PROXY_VERSION=${NGINX_PROXY_VERSION} \
 | 
			
		||||
   DOCKER_GEN_VERSION=${DOCKER_GEN_VERSION} \
 | 
			
		||||
   DOCKER_HOST=unix:///tmp/docker.sock
 | 
			
		||||
 | 
			
		||||
# Install/update certificates
 | 
			
		||||
RUN apt-get update \
 | 
			
		||||
   && apt-get install -y -q --no-install-recommends ca-certificates \
 | 
			
		||||
   && apt-get clean \
 | 
			
		||||
   && rm -r /var/lib/apt/lists/*
 | 
			
		||||
 | 
			
		||||
# Configure Nginx
 | 
			
		||||
RUN sed -i 's/worker_connections  1024/worker_connections  10240/' /etc/nginx/nginx.conf \
 | 
			
		||||
   && mkdir -p '/etc/nginx/dhparam'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user