Skip to content

Commit 2ebb27a

Browse files
committed
ngx-json-log: fix alpine docker build
1 parent 71746d9 commit 2ebb27a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docker/alpine-nginx-http-log-json/Dockerfile

+6
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repos
1010
RUN echo "http://dl-cdn.alpinelinux.org/alpine/edge/main" >> /etc/apk/repositories
1111
RUN apk update
1212

13+
RUN apk add busybox-static apk-tools-static
14+
RUN apk.static update
15+
RUN apk.static upgrade --no-self-upgrade --available --simulate
16+
RUN apk.static upgrade --no-self-upgrade --available
17+
1318
RUN apk add --no-cache pcre
1419
RUN apk add --no-cache jansson jansson-dev
1520
RUN apk add --no-cache librdkafka librdkafka-dev
@@ -28,6 +33,7 @@ RUN cd nginx-json-log && git checkout ${GIT_BRANCH}
2833
RUN hg clone http://hg.nginx.org/nginx
2934

3035
WORKDIR /build/nginx
36+
3137
RUN apk add --no-cache gcc
3238
RUN apk add --no-cache alpine-sdk
3339
RUN apk add --no-cache pcre-dev

0 commit comments

Comments
 (0)