mirror of
https://github.com/thib8956/nginx-proxy
synced 2025-02-24 01:38:15 +00: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
|
DOCKER_HOST=unix:///tmp/docker.sock
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN apk add --no-cache --virtual .run-deps \
|
RUN apk add --no-cache --virtual .run-deps bash
|
||||||
bash \
|
|
||||||
ca-certificates \
|
|
||||||
openssl \
|
|
||||||
&& update-ca-certificates
|
|
||||||
|
|
||||||
# Configure Nginx
|
# Configure Nginx
|
||||||
RUN sed -i 's/worker_connections 1024/worker_connections 10240/' /etc/nginx/nginx.conf \
|
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_GEN_VERSION=${DOCKER_GEN_VERSION} \
|
||||||
DOCKER_HOST=unix:///tmp/docker.sock
|
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
|
# Configure Nginx
|
||||||
RUN sed -i 's/worker_connections 1024/worker_connections 10240/' /etc/nginx/nginx.conf \
|
RUN sed -i 's/worker_connections 1024/worker_connections 10240/' /etc/nginx/nginx.conf \
|
||||||
&& mkdir -p '/etc/nginx/dhparam'
|
&& mkdir -p '/etc/nginx/dhparam'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user