Ver Fonte

refactor: remove already present or unneeded dependencies

Nicolas Duchon há 1 ano atrás
pai
commit
eb9fca85cf
2 ficheiros alterados com 1 adições e 11 exclusões
  1. 1 5
      Dockerfile.alpine
  2. 0 6
      Dockerfile.debian

+ 1 - 5
Dockerfile.alpine

@@ -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 \

+ 0 - 6
Dockerfile.debian

@@ -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'