Skip to content
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

Merged
merged 2 commits into from
Mar 24, 2020
Merged

Conversation

Rulox
Copy link
Contributor

@Rulox Rulox commented Mar 23, 2020

Proposed changes

This PR adds a new Dockerfile for NGINX Ingress Controller for Openshift for NGINX open source.

Copy link
Member

@lucacome lucacome left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@pleshakov pleshakov left a 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 \
Copy link
Contributor

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

Copy link
Contributor Author

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.

build/openshift/Dockerfile Show resolved Hide resolved
@Rulox
Copy link
Contributor Author

Rulox commented Mar 24, 2020

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

Copy link
Contributor

@martialonline martialonline left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@Rulox
Copy link
Contributor Author

Rulox commented Mar 24, 2020

Merging, labels can be updated if needed.

@Rulox Rulox merged commit dde9282 into master Mar 24, 2020
@Rulox Rulox deleted the dockerfile-ubi branch March 24, 2020 15:07
@pleshakov pleshakov added the enhancement Pull requests for new features/feature enhancements label Mar 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Pull requests for new features/feature enhancements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants