Skip to content

Commit

Permalink
Fix debian oss image (#819)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhurley authored Sep 3, 2024
1 parent 1cb8688 commit 86b1fba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/docker/nginx-oss/deb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG ENTRY_POINT
ARG PACKAGE_NAME
ARG PACKAGES_REPO
ARG OS_RELEASE

WORKDIR /agent
COPY ./build /agent/build
Expand All @@ -26,7 +27,7 @@ RUN set -x \

# Setup nginx agent repository
RUN curl https://nginx.org/keys/nginx_signing.key | gpg --dearmor | tee /usr/share/keyrings/nginx-archive-keyring.gpg >/dev/null \
&& 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
&& 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

RUN chmod +x /agent/entrypoint.sh
STOPSIGNAL SIGTERM
Expand Down

0 comments on commit 86b1fba

Please sign in to comment.