Skip to content

Commit

Permalink
Merge pull request #183 from sbesson/nginx_no_epel
Browse files Browse the repository at this point in the history
Disable EPEL repository when installing nginx
  • Loading branch information
sbesson authored Jul 13, 2021
2 parents 5a213fd + 39c1f6c commit fd0f546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ MAINTAINER OME

RUN yum -y localinstall http://nginx.org/packages/rhel/7/noarch/RPMS/nginx-release-rhel-7-0.el7.ngx.noarch.rpm \
&& yum clean all
RUN yum -y install nginx \
RUN yum -y install nginx --disablerepo=epel \
&& yum clean all
RUN mv /etc/nginx/conf.d/default.conf /etc/nginx/conf.d/default.conf.disabled

Expand Down

0 comments on commit fd0f546

Please sign in to comment.