-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Dockerfile for NGINX Open Source for Openshift #894
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Rulox Please see my comments
&& echo "module_hotfixes=true" >> /etc/yum.repos.d/nginx.repo \ | ||
&& yum update -y \ | ||
&& yum install -y nginx-${NGINX_VERSION} \ | ||
&& nginx \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why nginx
? 🤔 we're installing nginx-${NGINX_VERSION}
in the previous line
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not installing, this is starting nginx binary for the first time. I followed the official docs for RHEL from here.
I had to update the Dockerfiles with Labels so we can get the RH Certification for Openshift. Please have another look. cc @pleshakov @Dean-Coakley @lucacome Thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Merging, labels can be updated if needed. |
Proposed changes
This PR adds a new Dockerfile for NGINX Ingress Controller for Openshift for NGINX open source.