File tree 1 file changed +2
-1
lines changed
scripts/docker/nginx-oss/deb
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ ARG DEBIAN_FRONTEND=noninteractive
6
6
ARG ENTRY_POINT
7
7
ARG PACKAGE_NAME
8
8
ARG PACKAGES_REPO
9
+ ARG OS_RELEASE
9
10
10
11
WORKDIR /agent
11
12
COPY ./build /agent/build
@@ -26,7 +27,7 @@ RUN set -x \
26
27
27
28
# Setup nginx agent repository
28
29
RUN curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor | tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null \
29
- && printf "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] http://${PACKAGES_REPO}/nginx-agent/ubuntu / `lsb_release -cs` agent\n " > /etc/apt/sources.list.d/nginx-agent.list
30
+ && printf "deb [signed-by=/usr/share/keyrings/nginx-archive-keyring.gpg] http://${PACKAGES_REPO}/nginx-agent/${OS_RELEASE} / `lsb_release -cs` agent\n " > /etc/apt/sources.list.d/nginx-agent.list
30
31
31
32
RUN chmod +x /agent/entrypoint.sh
32
33
STOPSIGNAL SIGTERM
You can’t perform that action at this time.
0 commit comments