https://github.com/elementsweb/s2i-nginx-container
Nginx base image designed for use with Openshift
https://github.com/elementsweb/s2i-nginx-container
nginx openshift s2i-image
Last synced: about 1 month ago
JSON representation
Nginx base image designed for use with Openshift
- Host: GitHub
- URL: https://github.com/elementsweb/s2i-nginx-container
- Owner: elementsweb
- Created: 2018-03-12T21:01:15.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-30T15:30:49.000Z (about 8 years ago)
- Last Synced: 2025-04-04T15:52:30.074Z (about 1 year ago)
- Topics: nginx, openshift, s2i-image
- Language: Shell
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# s2i-nginx-container
[](https://travis-ci.org/elementsweb/s2i-nginx-container)
An Openshift source-to-image base container for an Nginx web server.
Features extended from `centos/s2i-base-centos7`:
- Installation of Nginx 1.12.1 (stable) with nginx.conf
## Development
More information about how to develop this S2I builder image can be found in the [Creating S2I Builder Image](./docs/creating-s2i-builder-image.md) docs.
### Building the image
Run `make build` to instruct Docker to build the image.
### Testing the image
Run `make test` to instruct Docker to build a test image and run tests in test/run.
Tests will check to see if a 200 status code response is returned after running the Nginx server with a non-root user.
### Create Openshift Image Stream
See [Creating an Image Stream by Manually Pushing an Image](https://docs.openshift.com/container-platform/3.4/dev_guide/managing_images.html#creating-an-image-stream-by-manually-pushing-an-image) to see how to create a new image stream for your base container. You will reference the new image stream in templates that build source code using this base container.