Skip to content

Commit

Permalink
Update contribution guide to require the 7-slim image is used when a …
Browse files Browse the repository at this point in the history
…more specific product image is not applicable. (oracle#865)

Signed-off-by: Avi Miller <[email protected]>
  • Loading branch information
Djelibeybi authored May 9, 2018
1 parent b52b677 commit 5384747
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,16 @@ a pull request.

### Base Image Rules

1. All Oracle product images must use an Oracle Linux base image.
1. Extend an existing product image wherever possible. For example, if your
product requires WebLogic, then extend the WebLogic image instead of creating
your own WebLogic installation.
1. If you can't extend an existing image, your image must use the
`oraclelinux:7-slim` base image as this image provides the smallest
attack surface and is updated whenever a CVE errata is published.
1. Re-use existing scripts wherever possible. If a particular base image or
script doesn't have the functionality you need, open an issue and work with
the image owner to implement it.
1. Specify a fixed version in the `FROM` directive, i.e. use
1. Specify a version in the `FROM` directive, i.e. use
`FROM oraclelinux:7-slim` or `FROM java/serverjre:8`.
1. All images must provide a `CMD` or `ENTRYPOINT`. If your image is designed
to be extended, then this should output documentation on how to extend the
Expand Down

0 comments on commit 5384747

Please sign in to comment.