File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff 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.
75741 . Extend an existing product image wherever possible. For example, if your
7675product requires WebLogic, then extend the WebLogic image instead of creating
7776your 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.
78801 . Re-use existing scripts wherever possible. If a particular base image or
7981script doesn't have the functionality you need, open an issue and work with
8082the 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 ` .
83851 . All images must provide a ` CMD ` or ` ENTRYPOINT ` . If your image is designed
8486to be extended, then this should output documentation on how to extend the
You can’t perform that action at this time.
0 commit comments