File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2,18 +2,20 @@ FROM centos:7
2
2
3
3
LABEL maintainer=
"TeslaGov" email=
"[email protected] "
4
4
5
- ARG NGINX_VERSION=1.16.1
5
+ ARG NGINX_VERSION=1.18.0
6
6
ARG JANSSON_VERSION=2.10
7
7
ARG LIBJWT_VERSION=1.9.0
8
8
9
9
ENV LD_LIBRARY_PATH=/usr/local/lib
10
10
ENV PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/share/pkgconfig
11
11
12
12
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 && \
13
14
yum -y update && \
14
15
yum -y groupinstall 'Development Tools' && \
15
16
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
17
19
18
20
# for compiling for epel7
19
21
RUN yum -y install libxml2 libxslt libxml2-devel libxslt-devel gd gd-devel perl-ExtUtils-Embed geoip geoip-devel google-perftools google-perftools-devel
You can’t perform that action at this time.
0 commit comments