mirror of
https://github.com/nginx-proxy/nginx-proxy
synced 2024-11-08 07:49:22 +01:00
refactor: remove already present or unneeded dependencies
This commit is contained in:
parent
758b43a5b2
commit
eb9fca85cf
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user