Skip to content

Commit b42d338

Browse files
committed
upgrade to 1.16.0 and add njs
1 parent 1c44e90 commit b42d338

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
FROM ubuntu:18.04 AS buildstep
22
ENV TERM=xterm container=docker DEBIAN_FRONTEND=noninteractive \
33
NGINX_DEVEL_KIT_VERSION=0.3.0 NGINX_SET_MISC_MODULE_VERSION=0.32 \
4-
NGINX_VERSION=1.14.2
4+
NGINX_VERSION=1.16.0
55
ADD ./build/src/ /tmp/
66
RUN bash /tmp/ubuntu.sh
77

88

99
FROM ubuntu:18.04
1010
LABEL maintainer="noogen <friends@niiknow.org>"
1111
ENV TERM=xterm container=docker DEBIAN_FRONTEND=noninteractive \
12-
NGINX_VERSION=_1.14.2-1~bionic_amd64.deb \
12+
NGINX_VERSION=_1.16.0-1~bionic_amd64.deb \
1313
NGINX_DEBUG=-dbg${NGINX_VERSION}
1414

1515
COPY --from=buildstep /usr/src/nginx/nginx${NGINX_VERSION} /tmp
@@ -29,6 +29,7 @@ RUN cd /tmp \
2929
&& echo "deb-src http://nginx.org/packages/ubuntu/ bionic nginx" | tee -a /etc/apt/sources.list \
3030
&& apt-get update -y \
3131
&& dpkg -i nginx${NGINX_VERSION} \
32+
&& apt-get install --no-install-recommends --no-install-suggests -y nginx-module-njs gettext-base \
3233
&& rm -rf /etc/nginx/conf.d/default.conf \
3334
&& mkdir -p /var/log/nginx \
3435
&& ln -sf /dev/stdout /var/log/nginx/access.log \

0 commit comments

Comments
 (0)