Skip to content

Commit c9f89bc

Browse files
Removed Application Delivery Manger, tested with NGINX Instance Manager 2.15.0 (#127)
* Added API Connectivity Manager 1.5.0 support * Ownership fix * Startup script fix * NGINX App Protect WAF updates * Tested with NGINX Instance Manager 2.9.1 * Added docker-compose support * Tested with NGINX Instance Manager 2.10.0 and Security Monitoring 1.4.0 * Tested with NGINX Instance Manager 2.10.0 and API Connectivity Manager 1.5.0 * Tested with API Connectivity Manager 1.6.0 * Tested with API Connectivity Manager 1.6.0 * README updated * Added support for NGINX Instance Manager 2.10.1 and App Delivery Manager 4.0.0 * Fixed NGINX App Protect detection bug for NGINX Instance Manager 2.10.0+ * Fixed agent syslog receiver bug * README updated * Tested with NGINX Instance Manager 2.11.0 and Security Monitoring 1.5.0 * Tested with NGINX Instance Manager 2.11.0 * Tested with NGINX API Connectivity Manager 1.7.0 * Tested with NGINX Instance Manager 2.12.0 and Security Monitoring 1.6.0 * Tested with API Connectivity Manager 1.8.0 * Tested with API Connectivity Manager 1.8.0 * Tested with NGINX Instance Manager 2.12.0 * Dockerfile updated * Support for NGINX Instance Manager 2.13 * Tested with NGINX Instance Manager 2.13 * Tested with NIM 2.14.0 and SM 1.7.0 * Tested with NIM 2.14.0 and SM 1.7.0 * Tested with NGINX Instance Manager 2.14.0 * Tested with NGINX Instance Manager 2.14.0 * Tested with NGINX App Protect compiler v4.583.0 * Start script updated * Advanced metrics support added * Advanced metrics support added * Removed Application Delivery Manger, tested with NGINX Instance Manager 2.15.0 --------- Signed-off-by: 65397 <[email protected]>
1 parent 1dd04dd commit c9f89bc

File tree

8 files changed

+21
-84
lines changed

8 files changed

+21
-84
lines changed

nginx-agent-docker/Dockerfile

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
FROM debian:bullseye-slim
22

33
ARG NMS_URL
4-
ARG DEVPORTAL=false
54
ARG NAP_WAF=false
65

76
# Initial packages setup
@@ -30,16 +29,6 @@ RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644
3029
&& apt-get -y update \
3130
&& apt-get -y install app-protect app-protect-attack-signatures; fi \
3231

33-
# Optional API Connectivity Manager DevPortal
34-
# https://docs.nginx.com/nginx-management-suite/admin-guides/installation/on-prem/install-guide/
35-
&& if [ "$DEVPORTAL" = "true" ] ; then \
36-
printf "deb https://pkgs.nginx.com/nms/debian `lsb_release -cs` nginx-plus\n" > /etc/apt/sources.list.d/nms.list \
37-
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys ABF5BD827BD9BF62 \
38-
&& apt-get -y update \
39-
&& apt-get -y install nginx-devportal nginx-devportal-ui \
40-
&& echo 'DB_TYPE="sqlite"' >> /etc/nginx-devportal/devportal.conf \
41-
&& echo 'DB_PATH="/var/lib/nginx-devportal"' >> /etc/nginx-devportal/devportal.conf; fi \
42-
4332
# Forward request logs to Docker log collector
4433
&& ln -sf /dev/stdout /var/log/nginx/access.log \
4534
&& ln -sf /dev/stderr /var/log/nginx/error.log \

nginx-agent-docker/README.md

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ This repository can be used to build a docker image with NGINX Plus and NGINX In
88

99
This repository has been tested with NGINX agent for:
1010

11-
- NGINX Instance Manager 2.4.0, 2.5.0, 2.5.1, 2.6.0, 2.7.0, 2.8.0, 2.9.0, 2.10.0, 2.10.1, 2.11.0, 2.12.0, 2.13.0, 2.13.1, 2.14.0, 2.14.1
12-
- API Connectivity Manager 1.4.0, 1.5.0, 1.6.0, 1.7.0, 1.8.0, 1.9.0
11+
- NGINX Instance Manager 2.4.0, 2.5.0, 2.5.1, 2.6.0, 2.7.0, 2.8.0, 2.9.0, 2.10.0, 2.10.1, 2.11.0, 2.12.0, 2.13.0, 2.13.1, 2.14.0, 2.14.1, 2.15.0
1312
- NGINX App Protect WAF 4.100.1+
1413

1514
## Prerequisites
@@ -41,19 +40,15 @@ NGINX Plus & NGINX Instance Manager agent Docker image builder
4140
-C [file.crt] - Certificate to pull packages from the official NGINX repository
4241
-K [file.key] - Key to pull packages from the official NGINX repository
4342
-n [URL] - NGINX Instance Manager URL to fetch the agent
44-
-d - Build support for NGINX API Gateway Developer Portal
4543
-w - Add NGINX App Protect WAF
4644
4745
=== Examples:
4846
4947
NGINX Plus and NGINX Agent image:
50-
./scripts/build.sh -C nginx-repo.crt -K nginx-repo.key -t registry.ff.lan:31005/nginx-with-agent:r28 -n https://nim.f5.ff.lan
48+
./scripts/build.sh -C nginx-repo.crt -K nginx-repo.key -t registry.ff.lan:31005/nginx-with-agent:latest -n https://nim.f5.ff.lan
5149
5250
NGINX Plus, NGINX App Protect WAF and NGINX Agent image:
53-
./scripts/build.sh -C nginx-repo.crt -K nginx-repo.key -t registry.ff.lan:31005/nginx-with-agent:r28-nap -w -n https://nim.f5.ff.lan
54-
55-
NGINX Plus, Developer Portal support and NGINX Agent image:
56-
./scripts/build.sh -C nginx-repo.crt -K nginx-repo.key -t registry.ff.lan:31005/nginx-with-agent:r28-devportal -d -n https://nim.f5.ff.lan
51+
./scripts/build.sh -C nginx-repo.crt -K nginx-repo.key -t registry.ff.lan:31005/nginx-with-agent:latest-nap -w -n https://nim.f5.ff.lan
5752
```
5853

5954
1. Clone this repository
@@ -67,7 +62,6 @@ $ ./scripts/build.sh -C nginx-repo.crt -K nginx-repo.key -t registry.ff.lan:3100
6762

6863
the build script will push the image to your private registry once build is complete.
6964

70-
- the `-d` flag can be used to build a Docker image to run NGINX Plus in [Developer Portal](https://docs.nginx.com/nginx-management-suite/admin-guides/installation/on-prem/install-guide/#install-developer-portal) mode for [API Connectivity Manager](https://docs.nginx.com/nginx-management-suite/acm/about/architecture/)
7165
- the `-w` flag can be used to include NGINX App Protect WAF support in the docker image
7266

7367
### Running the docker image on Kubernetes
@@ -80,7 +74,6 @@ the build script will push the image to your private registry once build is comp
8074
- `NIM_ADVANCED_METRICS` - set to `"true"` to enable advanced metrics collection
8175
- `NAP_WAF` - set to `"true"` to enable NGINX App Protect WAF (docker image built using `-w`)
8276
- `NAP_WAF_PRECOMPILED_POLICIES` - set to `"true"` to enable NGINX App Protect WAF precompiled policies (docker image built using `-w`)
83-
- `ACM_DEVPORTAL` - set to `"true"` to enable API Connectivity Manager Developer Portal (docker image built using `-d`)
8477

8578
2. Start and stop using
8679

@@ -97,13 +90,10 @@ $ ./scripts/nginxWithAgentStart.sh stop
9790

9891
```
9992
NGINX Plus and NGINX Agent
100-
docker run --name nginx-plus -d -e "NIM_HOST=<NIM_FQDN_OR_IP>" -e "NIM_GRPC_PORT=<GPRC_PORT>" -d registry.ff.lan:31005/nginx-with-agent:r28
93+
docker run --name nginx-plus -d -e "NIM_HOST=<NIM_FQDN_OR_IP>" -e "NIM_GRPC_PORT=<GPRC_PORT>" -d registry.ff.lan:31005/nginx-with-agent:latest
10194
10295
NGINX Plus, NGINX Agent and NGINX App Protect WAF with precompiled policies
103-
docker run --name nginx-plus -d -e "NIM_HOST=<NIM_FQDN_OR_IP>" -e "NIM_GRPC_PORT=<GPRC_PORT>" -e "NAP_WAF=true" -e "NAP_WAF_PRECOMPILED_POLICIES=true" -d registry.ff.lan:31005/nginx-with-agent:r28-nap
104-
105-
NGINX Plus, NGINX Agent and Developer portal
106-
docker run --name nginx-plus -d -e "NIM_HOST=<NIM_FQDN_OR_IP>" -e "NIM_GRPC_PORT=<GPRC_PORT>" -e "ACM_DEVPORTAL=true" -d registry.ff.lan:31005/nginx-with-agent:r28-devportal
96+
docker run --name nginx-plus -d -e "NIM_HOST=<NIM_FQDN_OR_IP>" -e "NIM_GRPC_PORT=<GPRC_PORT>" -e "NAP_WAF=true" -e "NAP_WAF_PRECOMPILED_POLICIES=true" -d registry.ff.lan:31005/nginx-with-agent:latest-nap
10797
```
10898

10999
2. After startup NGINX Plus instances will register to NGINX Instance Manager and will be displayed on the "instances" dashboard

nginx-agent-docker/container/start.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,4 @@ extensions:
105105
__EOT__
106106
fi
107107

108-
if [[ "$ACM_DEVPORTAL" == "true" ]]; then
109-
nginx-devportal server &
110-
fi
111-
112108
sg nginx-agent "/usr/bin/nginx-agent $PARM"

nginx-agent-docker/scripts/build.sh

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,14 @@ $0 [options]\n\n
1212
-C [file.crt]\t\t- Certificate to pull packages from the official NGINX repository\n
1313
-K [file.key]\t\t- Key to pull packages from the official NGINX repository\n
1414
-n [URL]\t\t- NGINX Instance Manager URL to fetch the agent\n
15-
-d\t\t\t- Build support for NGINX API Gateway Developer Portal\n
1615
-w\t\t\t- Add NGINX App Protect WAF\n\n
1716
=== Examples:\n\n
1817
NGINX Plus and NGINX Agent image:\n
19-
$0 -C nginx-repo.crt -K nginx-repo.key -t registry.ff.lan:31005/nginx-with-agent:r28 -n https://nim.f5.ff.lan\n\n
18+
$0 -C nginx-repo.crt -K nginx-repo.key -t registry.ff.lan:31005/nginx-with-agent:latest -n https://nim.f5.ff.lan\n\n
2019
NGINX Plus, NGINX App Protect WAF and NGINX Agent image:\n
21-
$0 -C nginx-repo.crt -K nginx-repo.key -t registry.ff.lan:31005/nginx-with-agent:r28-nap -w -n https://nim.f5.ff.lan\n\n
22-
NGINX Plus, Developer Portal support and NGINX Agent image:\n
23-
$0 -C nginx-repo.crt -K nginx-repo.key -t registry.ff.lan:31005/nginx-with-agent:r28-devportal -d -n https://nim.f5.ff.lan
24-
\n"
20+
$0 -C nginx-repo.crt -K nginx-repo.key -t registry.ff.lan:31005/nginx-with-agent:latest-nap -w -n https://nim.f5.ff.lan\n"
2521

26-
while getopts 'ht:C:K:a:n:dw' OPTION
22+
while getopts 'ht:C:K:a:n:w' OPTION
2723
do
2824
case "$OPTION" in
2925
h)
@@ -42,9 +38,6 @@ do
4238
n)
4339
NMSURL=$OPTARG
4440
;;
45-
d)
46-
DEVPORTAL=true
47-
;;
4841
w)
4942
NAP_WAF=true
5043
;;
@@ -77,19 +70,14 @@ fi
7770

7871
echo "=> Target docker image is $IMAGENAME"
7972

80-
if [ ! -z "${DEVPORTAL}" ]
81-
then
82-
echo "=> Building with Developer Portal support"
83-
fi
84-
8573
if [ ! -z "${NAP_WAF}" ]
8674
then
8775
echo "=> Building with NGINX App Protect WAF support"
8876
fi
8977

9078
DOCKER_BUILDKIT=1 docker build --no-cache -f Dockerfile \
9179
--secret id=nginx-key,src=$NGINX_KEY --secret id=nginx-crt,src=$NGINX_CERT \
92-
--build-arg NMS_URL=$NMSURL --build-arg DEVPORTAL=$DEVPORTAL --build-arg NAP_WAF=$NAP_WAF -t $IMAGENAME .
80+
--build-arg NMS_URL=$NMSURL --build-arg NAP_WAF=$NAP_WAF -t $IMAGENAME .
9381

9482
echo "=> Build complete for $IMAGENAME"
9583
docker push $IMAGENAME

nginx-nms-docker/Dockerfile.automated

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ ARG BUILD_WITH_SECONDSIGHT=false
44
ARG ADD_ACM
55
ARG ADD_SM
66
ARG ADD_PUM
7-
ARG ADD_ADM
87

98
# Initial setup
109
RUN apt-get update && \
@@ -19,7 +18,6 @@ RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644
1918
set -x \
2019
&& chmod +x /deployment/startNIM.sh \
2120
&& printf "deb https://pkgs.nginx.com/nms/ubuntu `lsb_release -cs` nginx-plus\n" > /etc/apt/sources.list.d/nms.list \
22-
&& printf "deb https://pkgs.nginx.com/adm/ubuntu `lsb_release -cs` nginx-plus\n" >> /etc/apt/sources.list.d/nms.list \
2321
&& wget -q -O /etc/apt/apt.conf.d/90pkgs-nginx https://cs.nginx.com/static/files/90pkgs-nginx \
2422
&& wget -O /tmp/nginx_signing.key https://cs.nginx.com/static/keys/nginx_signing.key \
2523
&& apt-key add /tmp/nginx_signing.key \
@@ -35,9 +33,6 @@ RUN --mount=type=secret,id=nginx-crt,dst=/etc/ssl/nginx/nginx-repo.crt,mode=0644
3533
# Optional WAF Policy Compiler
3634
&& if [ ! -z "${ADD_PUM}" ] ; then \
3735
apt-get -y install nms-nap-compiler-$ADD_PUM; fi \
38-
# Optional App Delivery Manager
39-
&& if [ ! -z "${ADD_ADM}" ] ; then \
40-
apt-get -y install nms-app-delivery-manager; fi \
4136
# Set permissions
4237
&& chmod +x /etc/nms/scripts/*.sh \
4338
&& wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq \

nginx-nms-docker/README.md

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ Docker image creation is supported for:
1010
- [NGINX API Connectivity Manager](https://docs.nginx.com/nginx-management-suite/acm/) 1.0.0+
1111
- [Security Monitoring](https://docs.nginx.com/nginx-management-suite/security/) 1.0.0+
1212
- [NGINX App Protect WAF compiler](https://docs.nginx.com/nginx-management-suite/nim/how-to/app-protect/setup-waf-config-management)
13-
- [NGINX App Delivery Manager](https://docs.nginx.com/nginx-management-suite/adm/) 4.0.0+
1413

1514
The image can optionally be built with [Second Sight](https://github.com/F5Networks/SecondSight) support
1615

@@ -24,11 +23,10 @@ A bash script to quickly install NGINX Management Suite through the official Hel
2423

2524
This repository has been tested with:
2625

27-
- NGINX Instance Manager 2.4.0, 2.5.0, 2.5.1, 2.6.0, 2.7.0, 2.8.0, 2.9.0, 2.9.1, 2.10.0, 2.10.1, 2.11.0, 2.12.0, 2.13.0, 2.13.1, 2.14.0
26+
- NGINX Instance Manager 2.4.0, 2.5.0, 2.5.1, 2.6.0, 2.7.0, 2.8.0, 2.9.0, 2.9.1, 2.10.0, 2.10.1, 2.11.0, 2.12.0, 2.13.0, 2.13.1, 2.14.0, 2.14.1, 2.15.0
2827
- NGINX API Connectivity Manager 1.0.0, 1.1.0, 1.1.1, 1.2.0, 1.3.0, 1.3.1, 1.4.0, 1.4.1, 1.5.0, 1.6.0, 1.7.0, 1.8.0, 1.9.0, 1.9.1
29-
- Security Monitoring 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.7.0
28+
- Security Monitoring 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.6.0, 1.7.0, 1.7.1
3029
- NGINX App Protect WAF compiler v3.1088.2, v4.100.1, v4.2.0, v4.218.0, v4.279.0, v4.402.0, v4.457.0, v4.583.0
31-
- NGINX App Delivery Manager 4.0.0
3230

3331
## Prerequisites
3432

@@ -47,7 +45,7 @@ This repository has been tested with:
4745
The install script can be used to build the Docker image using automated or manual install:
4846

4947
```
50-
$ ./scripts/buildNIM.sh
48+
$ ./scripts/buildNIM.sh
5149
NGINX Management Suite Docker image builder
5250
5351
This tool builds a Docker image to run NGINX Management Suite
@@ -77,7 +75,6 @@ NGINX Management Suite Docker image builder
7775
-A - Enable API Connectivity Manager - optional
7876
-W - Enable Security Monitoring - optional
7977
-P [version] - Enable WAF policy compiler, version can be any [v3.1088.2|v4.100.1|v4.2.0|v4.218.0|v4.279.0|v4.402.0|v4.457.0|v4.583.0] - optional
80-
-D - Enable App Delivery Manager - optional
8178
8279
=== Examples:
8380
@@ -90,7 +87,7 @@ NGINX Management Suite Docker image builder
9087
9188
Automated build:
9289
./scripts/buildNIM.sh -i -C nginx-repo.crt -K nginx-repo.key
93-
-A -W -P v4.583.0 -D -t my.registry.tld/nginx-nms:2.14.1
90+
-A -W -P v4.583.0 -t my.registry.tld/nginx-nms:latest
9491
```
9592

9693
### Automated build
@@ -102,31 +99,25 @@ NGINX Management Suite Docker image builder
10299
NGINX Instance Manager
103100

104101
```
105-
./scripts/buildNIM.sh -t registry.ff.lan:31005/nginx-nim2:automated -i -C certs/nginx-repo.crt -K certs/nginx-repo.key
102+
./scripts/buildNIM.sh -t YOUR_DOCKER_REGISTRY/nginx-nim2:automated -i -C certs/nginx-repo.crt -K certs/nginx-repo.key
106103
```
107104

108105
NGINX Instance Manager and API Connectivity Manager
109106

110107
```
111-
./scripts/buildNIM.sh -t registry.ff.lan:31005/nginx-nim2:automated -i -C certs/nginx-repo.crt -K certs/nginx-repo.key -A
108+
./scripts/buildNIM.sh -t YOUR_DOCKER_REGISTRY/nginx-nim2:automated -i -C certs/nginx-repo.crt -K certs/nginx-repo.key -A
112109
```
113110

114111
NGINX Instance Manager, Security Monitoring and WAF Policy Compiler
115112

116113
```
117-
./scripts/buildNIM.sh -t registry.ff.lan:31005/nginx-nim2:automated -i -C certs/nginx-repo.crt -K certs/nginx-repo.key -W -P v4.2.0
114+
./scripts/buildNIM.sh -t YOUR_DOCKER_REGISTRY/nginx-nim2:automated -i -C certs/nginx-repo.crt -K certs/nginx-repo.key -W -P v4.457.0
118115
```
119116

120117
NGINX Instance Manager, API Connectivity Manager, WAF Policy Compiler and Security Monitoring
121118

122119
```
123-
./scripts/buildNIM.sh -t registry.ff.lan:31005/nginx-nim2:automated -i -C certs/nginx-repo.crt -K certs/nginx-repo.key -A -W -P v4.2.0
124-
```
125-
126-
NGINX Instance Manager, API Connectivity Manager, WAF Policy Compiler, Security Monitoring and App Delivery Manager
127-
128-
```
129-
./scripts/buildNIM.sh -t registry.ff.lan:31005/nginx-nim2:automated -i -C certs/nginx-repo.crt -K certs/nginx-repo.key -A -W -P v4.2.0 -D
120+
./scripts/buildNIM.sh -t YOUR_DOCKER_REGISTRY/nginx-nim2:automated -i -C certs/nginx-repo.crt -K certs/nginx-repo.key -A -W -P v4.457.0
130121
```
131122

132123
### Manual build

nginx-nms-docker/container/startNIM.sh

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -132,14 +132,6 @@ then
132132
su - nms -c 'function repeat { while [ 1 ] ; do "$@" ; sleep 1 ; done; };repeat /usr/bin/nms-acm server &' -s /bin/bash
133133
fi
134134

135-
# Start App Delivery Manager
136-
if [ -f /usr/bin/nms-adm ]
137-
then
138-
/bin/bash -c '`which mkdir` -p /var/run/nms/modules/adm'
139-
/bin/bash -c '`which chown` -R nms:nms /var/run/nms/modules/adm'
140-
su - nms -c 'function repeat { while [ 1 ] ; do "$@" ; sleep 1 ; done; };repeat /usr/bin/nms-adm server &' -s /bin/bash
141-
fi
142-
143135
sleep 5
144136

145137
# Start Security Monitoring

nginx-nms-docker/scripts/buildNIM.sh

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ Automated build:\n\n
1919
-K [file.key]\t\t- Key file to pull packages from the official NGINX repository\n
2020
-A\t\t\t- Enable API Connectivity Manager - optional\n
2121
-W\t\t\t- Enable Security Monitoring - optional\n
22-
-P [version]\t\t- Enable WAF policy compiler, version can be any [v3.1088.2|v4.100.1|v4.2.0|v4.218.0|v4.279.0|v4.402.0|v4.457.0] - optional\n
23-
-D\t\t\t- Enable App Delivery Manager - optional\n\n
22+
-P [version]\t\t- Enable WAF policy compiler, version can be any [v3.1088.2|v4.100.1|v4.2.0|v4.218.0|v4.279.0|v4.402.0|v4.457.0|v4.583.0] - optional\n\n
2423
=== Examples:\n\n
2524
Manual build:\n
2625
\t$0 -n nim-files/nms-instance-manager_2.6.0-698150575~focal_amd64.deb \\\\\n
@@ -30,13 +29,13 @@ Manual build:\n
3029
\t\t-t my.registry.tld/nginx-nms:2.6.0\n\n
3130
Automated build:\n
3231
\t$0 -i -C nginx-repo.crt -K nginx-repo.key\n
33-
\t\t-A -W -P v4.457.0 -D -t my.registry.tld/nginx-nms:2.13.1\n
32+
\t\t-A -W -P v4.583.0 -t my.registry.tld/nginx-nms:latest\n
3433
"
3534

3635
# Defaults
3736
COUNTER=false
3837

39-
while getopts 'hn:a:w:p:t:siC:K:AWP:D' OPTION
38+
while getopts 'hn:a:w:p:t:siC:K:AWP:' OPTION
4039
do
4140
case "$OPTION" in
4241
h)
@@ -79,9 +78,6 @@ do
7978
P)
8079
ADD_PUM=$OPTARG
8180
;;
82-
D)
83-
ADD_ADM=true
84-
;;
8581
esac
8682
done
8783

@@ -117,7 +113,7 @@ then
117113
--build-arg ACM_IMAGE=$ACM_IMAGE --build-arg SM_IMAGE=$SM_IMAGE --build-arg PUM_IMAGE=$PUM_IMAGE -t $IMGNAME .
118114
else
119115
DOCKER_BUILDKIT=1 docker build --no-cache -f Dockerfile.automated --secret id=nginx-key,src=$NGINX_KEY --secret id=nginx-crt,src=$NGINX_CERT \
120-
--build-arg ADD_ACM=$ADD_ACM --build-arg ADD_SM=$ADD_SM --build-arg ADD_PUM=$ADD_PUM --build-arg ADD_ADM=$ADD_ADM \
116+
--build-arg ADD_ACM=$ADD_ACM --build-arg ADD_SM=$ADD_SM --build-arg ADD_PUM=$ADD_PUM \
121117
--build-arg BUILD_WITH_SECONDSIGHT=$COUNTER \
122118
-t $IMGNAME .
123119
fi

0 commit comments

Comments
 (0)