feature: try alpine
Gitea/docker-base-images/nginx-routes/pipeline/head This commit looks good
Details
Gitea/docker-base-images/nginx-routes/pipeline/head This commit looks good
Details
parent
7619a4b8f8
commit
3668c17087
|
@ -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!"}
|
||||
|
|
Loading…
Reference in New Issue