From 3668c17087c3b1c9366247910d2ea9f47adc9849 Mon Sep 17 00:00:00 2001 From: amorozov Date: Fri, 8 Sep 2023 01:33:02 +0300 Subject: [PATCH] feature: try alpine --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ef3cb8f..eafe28d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,9 @@ -ARG BASE_IMAGE="nginx" +ARG BASE_IMAGE="nginx:alpine" FROM ${BASE_IMAGE} # Install ping and ip -RUN apt update && \ - apt install -y iproute2 iputils-ping nginx-abi-1.22.1-7 libnginx-mod-http-perl libnginx-mod-http-lua +RUN apk add --no-cache iproute2 iputils nginx-mod-http-lua # Default nginx proxy envs ENV NGINX_PROXY_SOURCE_PORT=${NGINX_PROXY_SOURCE_PORT:-"Please configure NGINX_PROXY_SOURCE_PORT env!"}