@@ -108,6 +108,11 @@ ARG PACKAGE_REPO
108
108
109
109
ENV NGINX_VERSION=${NGINX_PLUS_VERSION}
110
110
111
+ # Startup is non-deterministic between NGINX Plus reporting usage and licence reporter initialising. This
112
+ # is a workaround to attribute the installation to nic even if licence reporter isn't ready yet.
113
+ # @See https://github.com/nginx/kubernetes-ingress/issues/7360
114
+ COPY dependencies/tracking.info.default /etc/nginx/reporting/tracking.info
115
+
111
116
RUN --mount=type=secret,id=nginx-repo.crt,dst=/etc/apk/cert.pem,mode=0644 \
112
117
--mount=type=secret,id=nginx-repo.key,dst=/etc/apk/cert.key,mode=0644 \
113
118
--mount=type=bind,from=alpine-opentracing-lib,target=/tmp/ot/ \
@@ -127,6 +132,11 @@ ARG NGINX_PLUS_VERSION
127
132
128
133
ENV NGINX_VERSION=${NGINX_PLUS_VERSION}
129
134
135
+ # Startup is non-deterministic between NGINX Plus reporting usage and licence reporter initialising. This
136
+ # is a workaround to attribute the installation to nic even if licence reporter isn't ready yet.
137
+ # @See https://github.com/nginx/kubernetes-ingress/issues/7360
138
+ COPY dependencies/tracking.info.default /etc/nginx/reporting/tracking.info
139
+
130
140
RUN --mount=type=bind,from=alpine-fips-3.20,target=/tmp/fips/ \
131
141
mkdir -p /usr/ssl \
132
142
&& cp -av /tmp/fips/usr/lib/ossl-modules/fips.so /usr/lib/ossl-modules/fips.so \
@@ -143,6 +153,11 @@ ARG PACKAGE_REPO
143
153
144
154
ENV NGINX_VERSION=${NGINX_PLUS_VERSION}
145
155
156
+ # Startup is non-deterministic between NGINX Plus reporting usage and licence reporter initialising. This
157
+ # is a workaround to attribute the installation to nic even if licence reporter isn't ready yet.
158
+ # @See https://github.com/nginx/kubernetes-ingress/issues/7360
159
+ COPY dependencies/tracking.info.default /etc/nginx/reporting/tracking.info
160
+
146
161
RUN --mount=type=bind,from=alpine-fips-3.17,target=/tmp/fips/ \
147
162
--mount=type=secret,id=nginx-repo.crt,dst=/etc/apk/cert.pem,mode=0644 \
148
163
--mount=type=secret,id=nginx-repo.key,dst=/etc/apk/cert.key,mode=0644 \
@@ -180,6 +195,11 @@ ARG PACKAGE_REPO
180
195
181
196
ENV NGINX_VERSION=${NGINX_PLUS_VERSION}
182
197
198
+ # Startup is non-deterministic between NGINX Plus reporting usage and licence reporter initialising. This
199
+ # is a workaround to attribute the installation to nic even if licence reporter isn't ready yet.
200
+ # @See https://github.com/nginx/kubernetes-ingress/issues/7360
201
+ COPY dependencies/tracking.info.default /etc/nginx/reporting/tracking.info
202
+
183
203
RUN --mount=type=bind,from=alpine-fips-3.17,target=/tmp/fips/ \
184
204
--mount=type=secret,id=nginx-repo.crt,dst=/etc/apk/cert.pem,mode=0644 \
185
205
--mount=type=secret,id=nginx-repo.key,dst=/etc/apk/cert.key,mode=0644 \
@@ -212,6 +232,11 @@ ARG NGINX_PLUS_VERSION
212
232
213
233
ENV NGINX_VERSION=${NGINX_PLUS_VERSION}
214
234
235
+ # Startup is non-deterministic between NGINX Plus reporting usage and licence reporter initialising. This
236
+ # is a workaround to attribute the installation to nic even if licence reporter isn't ready yet.
237
+ # @See https://github.com/nginx/kubernetes-ingress/issues/7360
238
+ COPY dependencies/tracking.info.default /etc/nginx/reporting/tracking.info
239
+
215
240
SHELL ["/bin/bash" , "-o" , "pipefail" , "-c" ]
216
241
RUN --mount=type=secret,id=nginx-repo.crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
217
242
--mount=type=secret,id=nginx-repo.key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
@@ -243,6 +268,11 @@ ARG NGINX_PLUS_VERSION
243
268
244
269
ENV NGINX_VERSION=${NGINX_PLUS_VERSION}
245
270
271
+ # Startup is non-deterministic between NGINX Plus reporting usage and licence reporter initialising. This
272
+ # is a workaround to attribute the installation to nic even if licence reporter isn't ready yet.
273
+ # @See https://github.com/nginx/kubernetes-ingress/issues/7360
274
+ COPY dependencies/tracking.info.default /etc/nginx/reporting/tracking.info
275
+
246
276
RUN --mount=type=secret,id=nginx-repo.crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
247
277
--mount=type=secret,id=nginx-repo.key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
248
278
--mount=type=bind,from=opentracing-lib,target=/tmp/ot/ \
@@ -287,6 +317,11 @@ ARG NGINX_PLUS_VERSION
287
317
288
318
ENV NGINX_VERSION=${NGINX_PLUS_VERSION}
289
319
320
+ # Startup is non-deterministic between NGINX Plus reporting usage and licence reporter initialising. This
321
+ # is a workaround to attribute the installation to nic even if licence reporter isn't ready yet.
322
+ # @See https://github.com/nginx/kubernetes-ingress/issues/7360
323
+ COPY dependencies/tracking.info.default /etc/nginx/reporting/tracking.info
324
+
290
325
RUN --mount=type=secret,id=nginx-repo.crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
291
326
--mount=type=secret,id=nginx-repo.key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
292
327
--mount=type=bind,from=nginx-files,src=90pkgs-nginx,target=/etc/apt/apt.conf.d/90pkgs-nginx \
@@ -356,6 +391,11 @@ ARG NGINX_PLUS_VERSION
356
391
357
392
ENV NGINX_VERSION=${NGINX_PLUS_VERSION}
358
393
394
+ # Startup is non-deterministic between NGINX Plus reporting usage and licence reporter initialising. This
395
+ # is a workaround to attribute the installation to nic even if licence reporter isn't ready yet.
396
+ # @See https://github.com/nginx/kubernetes-ingress/issues/7360
397
+ COPY dependencies/tracking.info.default /etc/nginx/reporting/tracking.info
398
+
359
399
SHELL ["/bin/bash" , "-o" , "pipefail" , "-c" ]
360
400
RUN --mount=type=secret,id=nginx-repo.crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
361
401
--mount=type=secret,id=nginx-repo.key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
@@ -373,6 +413,11 @@ FROM ubi-9-plus AS ubi-9-plus-nap
373
413
ARG NAP_MODULES
374
414
ARG NGINX_AGENT
375
415
416
+ # Startup is non-deterministic between NGINX Plus reporting usage and licence reporter initialising. This
417
+ # is a workaround to attribute the installation to nic even if licence reporter isn't ready yet.
418
+ # @See https://github.com/nginx/kubernetes-ingress/issues/7360
419
+ COPY dependencies/tracking.info.default /etc/nginx/reporting/tracking.info
420
+
376
421
RUN --mount=type=secret,id=nginx-repo.crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
377
422
--mount=type=secret,id=nginx-repo.key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
378
423
--mount=type=secret,id=rhel_license,dst=/tmp/rhel_license,mode=0644 \
@@ -415,6 +460,11 @@ FROM ubi-9-plus AS ubi-9-plus-nap-v5
415
460
ARG NAP_MODULES
416
461
ARG NGINX_AGENT
417
462
463
+ # Startup is non-deterministic between NGINX Plus reporting usage and licence reporter initialising. This
464
+ # is a workaround to attribute the installation to nic even if licence reporter isn't ready yet.
465
+ # @See https://github.com/nginx/kubernetes-ingress/issues/7360
466
+ COPY dependencies/tracking.info.default /etc/nginx/reporting/tracking.info
467
+
418
468
RUN --mount=type=secret,id=nginx-repo.crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
419
469
--mount=type=secret,id=nginx-repo.key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
420
470
--mount=type=secret,id=rhel_license,dst=/tmp/rhel_license,mode=0644 \
@@ -446,6 +496,11 @@ ARG NGINX_PLUS_VERSION
446
496
447
497
ENV NGINX_VERSION=${NGINX_PLUS_VERSION}
448
498
499
+ # Startup is non-deterministic between NGINX Plus reporting usage and licence reporter initialising. This
500
+ # is a workaround to attribute the installation to nic even if licence reporter isn't ready yet.
501
+ # @See https://github.com/nginx/kubernetes-ingress/issues/7360
502
+ COPY dependencies/tracking.info.default /etc/nginx/reporting/tracking.info
503
+
449
504
RUN --mount=type=secret,id=nginx-repo.crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
450
505
--mount=type=secret,id=nginx-repo.key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
451
506
--mount=type=secret,id=rhel_license,dst=/tmp/rhel_license,mode=0644 \
@@ -491,6 +546,11 @@ ARG NGINX_PLUS_VERSION
491
546
492
547
ENV NGINX_VERSION=${NGINX_PLUS_VERSION}
493
548
549
+ # Startup is non-deterministic between NGINX Plus reporting usage and licence reporter initialising. This
550
+ # is a workaround to attribute the installation to nic even if licence reporter isn't ready yet.
551
+ # @See https://github.com/nginx/kubernetes-ingress/issues/7360
552
+ COPY dependencies/tracking.info.default /etc/nginx/reporting/tracking.info
553
+
494
554
RUN --mount=type=secret,id=nginx-repo.crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644 \
495
555
--mount=type=secret,id=nginx-repo.key,dst=/etc/ssl/nginx/nginx-repo.key,mode=0644 \
496
556
--mount=type=secret,id=rhel_license,dst=/tmp/rhel_license,mode=0644 \
0 commit comments