We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5712773 commit 73061a6Copy full SHA for 73061a6
test/docker/nginx-official-image/apk/Dockerfile
@@ -12,6 +12,7 @@ WORKDIR /agent
12
COPY ./build/${PACKAGE_NAME}.apk /agent/build/${PACKAGE_NAME}.apk
13
COPY ./ /agent
14
15
+RUN apk del nginx-agent \
16
RUN apk add --allow-untrusted /agent/build/${PACKAGE_NAME}.apk
17
18
RUN unlink /var/log/nginx/access.log
test/docker/nginx-official-image/deb/Dockerfile
@@ -14,6 +14,7 @@ COPY ./build/${PACKAGE_NAME}.deb /agent/build/${PACKAGE_NAME}.deb
RUN apt-get update \
+ && apt purge -y nginx-agent \
&& apt install --no-install-recommends --no-install-suggests -y /agent/build/${PACKAGE_NAME}.deb \
19
&& rm /agent/build/${PACKAGE_NAME}.deb
20
0 commit comments