feature: try alpine
Gitea/docker-base-images/nginx-routes/pipeline/head This commit looks good Details

release-0.0.13
amorozov 2023-09-08 01:33:02 +03:00
parent 7619a4b8f8
commit 3668c17087
1 changed files with 2 additions and 3 deletions

View File

@ -1,10 +1,9 @@
ARG BASE_IMAGE="nginx" ARG BASE_IMAGE="nginx:alpine"
FROM ${BASE_IMAGE} FROM ${BASE_IMAGE}
# Install ping and ip # Install ping and ip
RUN apt update && \ RUN apk add --no-cache iproute2 iputils nginx-mod-http-lua
apt install -y iproute2 iputils-ping nginx-abi-1.22.1-7 libnginx-mod-http-perl libnginx-mod-http-lua
# Default nginx proxy envs # Default nginx proxy envs
ENV NGINX_PROXY_SOURCE_PORT=${NGINX_PROXY_SOURCE_PORT:-"Please configure NGINX_PROXY_SOURCE_PORT env!"} ENV NGINX_PROXY_SOURCE_PORT=${NGINX_PROXY_SOURCE_PORT:-"Please configure NGINX_PROXY_SOURCE_PORT env!"}