Skip to content

Commit 5384747

Browse files
authored
Update contribution guide to require the 7-slim image is used when a more specific product image is not applicable. (oracle#865)
Signed-off-by: Avi Miller <[email protected]>
1 parent b52b677 commit 5384747

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Diff for: CONTRIBUTING.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,16 @@ a pull request.
7171

7272
### Base Image Rules
7373

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

0 commit comments

Comments
 (0)