From a70b16962135d3c7524bdf7d46f6ce28ac1e8a42 Mon Sep 17 00:00:00 2001
From: Dan K <dk14142@gmail.com>
Date: Tue, 06 Aug 2019 14:06:13 +0200
Subject: [PATCH] Added a README.md for curious students

---
 nexus3/README.md |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/nexus3/README.md b/nexus3/README.md
new file mode 100644
index 0000000..5ad5db7
--- /dev/null
+++ b/nexus3/README.md
@@ -0,0 +1,17 @@
+This Dockerfile is a combination of the two Dockerfiles (locked at the commit):
+
+* https://github.com/sonatype/docker-nexus3/blob/37a9fcd2b9b7f13d3ca486981732168f98b12199/Dockerfile
+* https://github.com/sonatype/docker-nexus3/blob/37a9fcd2b9b7f13d3ca486981732168f98b12199/Dockerfile.rh.el
+
+Both Dockerfiles use Chef recipes to install Nexus.  These Chef recipes are
+downloaded during the build by the Dockerfile.
+
+The first Dockerfile uses the ubi8/ubi image, but is missing LABEL(s) that OpenShift
+and Kubernetes use.  This Dockerfile also uses an ENTRYPOINT to account for OpenShift
+assigning a random UID for each container.
+
+The second Dockerfile includes the LABELs needed by Kubernetes and OpenShift,
+but does not use UBI and does not indicate how it handles the random UID.
+Testing an image off of this Dockerfile shows that there is no issue with the
+image running.
+

--
Gitblit v1.9.3