commit | author | age
|
a70b16
|
1 |
This Dockerfile is a combination of the two Dockerfiles (locked at the commit): |
DK |
2 |
|
|
3 |
* https://github.com/sonatype/docker-nexus3/blob/37a9fcd2b9b7f13d3ca486981732168f98b12199/Dockerfile |
|
4 |
* https://github.com/sonatype/docker-nexus3/blob/37a9fcd2b9b7f13d3ca486981732168f98b12199/Dockerfile.rh.el |
|
5 |
|
|
6 |
Both Dockerfiles use Chef recipes to install Nexus. These Chef recipes are |
|
7 |
downloaded during the build by the Dockerfile. |
|
8 |
|
|
9 |
The first Dockerfile uses the ubi8/ubi image, but is missing LABEL(s) that OpenShift |
|
10 |
and Kubernetes use. This Dockerfile also uses an ENTRYPOINT to account for OpenShift |
|
11 |
assigning a random UID for each container. |
|
12 |
|
|
13 |
The second Dockerfile includes the LABELs needed by Kubernetes and OpenShift, |
|
14 |
but does not use UBI and does not indicate how it handles the random UID. |
|
15 |
Testing an image off of this Dockerfile shows that there is no issue with the |
|
16 |
image running. |
|
17 |
|