File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
test/docker/nginx-official-image/deb Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ ARG IMAGE_PATH
44FROM ${CONTAINER_NGINX_IMAGE_REGISTRY}${IMAGE_PATH}:${TAG} AS install
55LABEL maintainer="NGINX Docker Maintainers <docker-maint@nginx.com>"
66
7+ ARG TAG
78ARG OS_RELEASE
89ARG OS_VERSION
910ARG DEBIAN_FRONTEND=noninteractive
@@ -17,10 +18,13 @@ COPY ./build/${PACKAGE_NAME}.${CONTAINER_OS_TYPE} /agent/build/${PACKAGE_NAME}.$
1718
1819RUN apt-get update \
1920 && apt install --no-install-recommends --no-install-suggests --allow-downgrades -y /agent/build/${PACKAGE_NAME}.${CONTAINER_OS_TYPE} \
20- && rm /agent/build/${PACKAGE_NAME}.${CONTAINER_OS_TYPE}
21+ && rm /agent/build/${PACKAGE_NAME}.${CONTAINER_OS_TYPE}
22+
23+ RUN echo "$TAG"
2124
22- RUN if [ "$TAG" == "mainline-bookworm" || "$TAG" == "stable-bookworm" ]; then \
23- curl -O https://${PACKAGES_REPO}/nginx-agent/${OS_RELEASE}/pool/agent/n/nginx-agent/nginx-agent_3.2.1~bookworm_${ARCH}.deb fi
25+ RUN if [ "$TAG" = "mainline-bookworm" ] || [ "$TAG" = "stable-bookworm" ]; then \
26+ curl -O https://${PACKAGES_REPO}/nginx-agent/debian/pool/agent/n/nginx-agent/nginx-agent_3.2.1~bookworm_${ARCH}.deb; \
27+ fi
2428
2529RUN unlink /var/log/nginx/access.log
2630RUN unlink /var/log/nginx/error.log
You can’t perform that action at this time.
0 commit comments