1
0
mirror of https://github.com/thib8956/nginx-proxy synced 2025-02-24 01:38:15 +00:00

build: don't install wget

This commit is contained in:
Nicolas Duchon 2023-04-30 17:31:56 +02:00
parent 0501c54002
commit 64e21100d3
2 changed files with 6 additions and 6 deletions

View File

@ -29,11 +29,9 @@ ENV NGINX_PROXY_VERSION=${NGINX_PROXY_VERSION} \
DOCKER_GEN_VERSION=${DOCKER_GEN_VERSION} \
DOCKER_HOST=unix:///tmp/docker.sock
# Install wget and install/updates certificates
# Install/update certificates
RUN apt-get update \
&& apt-get install -y -q --no-install-recommends \
ca-certificates \
wget \
&& apt-get install -y -q --no-install-recommends ca-certificates \
&& apt-get clean \
&& rm -r /var/lib/apt/lists/*

View File

@ -30,9 +30,11 @@ ENV NGINX_PROXY_VERSION=${NGINX_PROXY_VERSION} \
DOCKER_GEN_VERSION=${DOCKER_GEN_VERSION} \
DOCKER_HOST=unix:///tmp/docker.sock
# Install wget and install/updates certificates
# Install dependencies
RUN apk add --no-cache --virtual .run-deps \
ca-certificates bash wget openssl \
bash \
ca-certificates \
openssl \
&& update-ca-certificates
# Configure Nginx