Images: Remove NGINX v1.21. (#12058)
This commit is contained in:
parent
f6398126da
commit
eef1aa0e46
65 changed files with 247 additions and 2547 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 2015 The Kubernetes Authors. All rights reserved.
|
||||
# Copyright 2024 The Kubernetes Authors. All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
|
|
@ -29,11 +29,10 @@ ENV LUA_PATH="/usr/local/share/luajit-2.1.0-beta3/?.lua;/usr/local/share/lua/5.1
|
|||
ENV LUA_CPATH="/usr/local/lib/lua/?/?.so;/usr/local/lib/lua/?.so;;"
|
||||
|
||||
COPY --from=builder /usr/local /usr/local
|
||||
COPY --from=builder /usr/lib/libopentelemetry* /usr/local/lib
|
||||
COPY --from=builder /opt /opt
|
||||
COPY --from=builder /etc/nginx /etc/nginx
|
||||
|
||||
LABEL org.opencontainers.image.source=https://github.com/kubernetes/ingress-nginx
|
||||
|
||||
RUN apk update \
|
||||
&& apk upgrade \
|
||||
&& apk add -U --no-cache \
|
||||
|
|
@ -50,6 +49,8 @@ RUN apk update \
|
|||
yaml-cpp \
|
||||
dumb-init \
|
||||
tzdata \
|
||||
grpc-cpp \
|
||||
libprotobuf \
|
||||
&& ln -s /usr/local/nginx/sbin/nginx /sbin/nginx \
|
||||
&& adduser -S -D -H -u 101 -h /usr/local/nginx \
|
||||
-s /sbin/nologin -G www-data -g www-data www-data \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue