基于官方nginx镜像并新增了若干工具
ARG VERSION=1.21
FROM nginx:${VERSION}
RUN apt-get update && \
apt-get install -y net-tools && \
apt-get install -y iputils-ping && \
apt-get install -y vim && \
apt-get clean
docker build --platform linux/amd64 --build-arg VERSION=1.22 -t tongwoo/nginx:1.22 .
Content type
Image
Digest
sha256:01b83cbd1…
Size
80.2 MB
Last updated
almost 2 years ago
docker pull tongwoo/nginx:1.22