Skip to content
Snippets Groups Projects
Commit af1dce30 authored by lcappelli's avatar lcappelli
Browse files

Install also njs as dynamic module

parent c0c86b86
No related branches found
No related tags found
No related merge requests found
...@@ -17,15 +17,13 @@ RUN yum update -y && \ ...@@ -17,15 +17,13 @@ RUN yum update -y && \
yum clean all && rm -rf /var/cache/yum yum clean all && rm -rf /var/cache/yum
COPY *.rpm /pkgs/ COPY *.rpm /pkgs/
COPY nginx.repo /etc/yum.repos.d/nginx.repo
# CASE 1 (install nginx httpg) # install nginx httpg + voms and njs dynamic modules
RUN rpm -ivh /pkgs/nginx-1.22.1-1.el7.ngx.x86_64.rpm && \ RUN rpm -ivh /pkgs/nginx-1.22.1-1.el7.ngx.x86_64.rpm && \
rpm -ivh /pkgs/nginx-module-http-voms-1.22.1-1.el7.x86_64.rpm rpm -ivh /pkgs/nginx-module-http-voms-1.22.1-1.el7.x86_64.rpm && \
yum install -y nginx-module-njs
# CASE 2 (install nginx stable) # install nginx + voms and njs dynamic modules
# COPY nginx.repo /etc/yum.repos.d/nginx.repo # RUN yum -y install nginx nginx-module-njs && \
# RUN yum -y install nginx # rpm -ivh /pkgs/nginx-module-http-voms-1.22.1-1.el7.x86_64.rpm && \
# install njs and voms dynamic modules
# RUN yum install -y nginx-module-njs && \
# rpm -ivh /pkgs/nginx-module-http-voms-1.22.1-1.el7.x86_64.rpm
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment