anchor.diff:  	&& printf "%s\n" "https://pkgs.nginx.com/plus/alpine/v$(grep -E -o '^[0-9]+\.[0-9]+' /etc/alpine-release)/main" >> /etc/apk/repositories \
   	&& apk add --no-cache libcap nginx-plus~${NGINX_PLUS_VERSION#r} nginx-plus-module-njs~${NGINX_PLUS_VERSION#r} \
   	# Temp fix for CVE-2022-0778
  -	&& apk upgrade --no-cache libcrypto1.1 libssl1.1
  +	&& apk upgrade --no-cache libretls
   
   
   ############################################# Base image for Debian with NGINX Plus #############################################
  
positive.code: FROM docker.io/library/nginx:1.21.6-alpine AS alpine
  
  RUN apk add --no-cache libcap \
  	# Temp fix for CVE-2022-0778 and CVE-2022-23308
  	&& apk upgrade --no-cache libcrypto1.1 libssl1.1 libxml2 libxslt
  
  
  ############################################# Base image for Alpine with NGINX Plus #############################################
  
negative.code: 	io.openshift.tags="nginx,ingress-controller,ingress,controller,kubernetes,openshift"
  
  RUN dnf --nodocs install -y shadow-utils ca-certificates \
  	# temporary fix for CVE-2022-24407, CVE-2022-25315 and CVE-2022-23308
  	&& dnf --nodocs upgrade -y cyrus-sasl-lib expat libxml2 \
  	&& groupadd --system --gid 101 nginx \
  	&& useradd --system --gid nginx --no-create-home --home-dir /nonexistent --comment "nginx user" --shell /bin/false --uid 101 nginx
  
  