Skip to content

Commit 97f0dd4

Browse files
Update nginx version to 1.18.0
1 parent 03c9b34 commit 97f0dd4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,20 @@ FROM centos:7
22

33
LABEL maintainer="TeslaGov" email="[email protected]"
44

5-
ARG NGINX_VERSION=1.16.1
5+
ARG NGINX_VERSION=1.18.0
66
ARG JANSSON_VERSION=2.10
77
ARG LIBJWT_VERSION=1.9.0
88

99
ENV LD_LIBRARY_PATH=/usr/local/lib
1010
ENV PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/share/pkgconfig
1111

1212
RUN yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm && \
13+
yum -y install http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm && \
1314
yum -y update && \
1415
yum -y groupinstall 'Development Tools' && \
1516
yum -y install pcre-devel pcre zlib-devel openssl-devel wget cmake check-devel check && \
16-
yum -y install nginx-$NGINX_VERSION
17+
yum -y install nginx-$NGINX_VERSION && \
18+
yum -y install nginx-module-njs
1719

1820
# for compiling for epel7
1921
RUN yum -y install libxml2 libxslt libxml2-devel libxslt-devel gd gd-devel perl-ExtUtils-Embed geoip geoip-devel google-perftools google-perftools-devel

0 commit comments

Comments
 (0)