summaryrefslogtreecommitdiffstats
path: root/aai-common-docker/aai-common-images/README.md
diff options
context:
space:
mode:
authorJames Forsyth <jf2512@att.com>2019-08-15 17:10:36 +0000
committerGerrit Code Review <gerrit@onap.org>2019-08-15 17:10:36 +0000
commit55228282b74da3ee98619fbb4604d0f21a75cf4c (patch)
treeabb60eff8c42e4796c7a026e675fdde822c509f9 /aai-common-docker/aai-common-images/README.md
parentb6169d1ab53f9264a181fef03be77fcd2bf02976 (diff)
parent649585b88b758d5c3e702446385ffe733ceea824 (diff)
Merge "Created maven modules for aai-common docker images."
Diffstat (limited to 'aai-common-docker/aai-common-images/README.md')
-rw-r--r--aai-common-docker/aai-common-images/README.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/aai-common-docker/aai-common-images/README.md b/aai-common-docker/aai-common-images/README.md
new file mode 100644
index 00000000..82131247
--- /dev/null
+++ b/aai-common-docker/aai-common-images/README.md
@@ -0,0 +1,24 @@
+# AAI Common Docker README
+
+### Building the image
+
+Run the following command to build AAI common images at internal network
+
+```bash
+ export NEW_VERSION=<NEW_VERSION>
+ export BASE_IMAGE=<alpine | ubuntu>
+ sudo docker build -t \
+ nexus3.onap.org:10003/onap/aai-common-${BASE_IMAGE}:${NEW_VERSION} \
+ -f Dockerfile.${BASE_IMAGE} .
+```
+
+Replace the **NEW\_VERSION** with the new docker image version for aai-common.
+Set **BASE\_IMAGE** to **alpine** or **ubuntu** to build aai-common-alpine or
+aai-common-ubuntu image.
+
+NOTE: In order to push images into Nexus3, you have to be logged into Nexus3
+with appropriate credentials first.
+
+NOTE2: Both alpine and ubuntu based aai-common images are built automatically
+by jenkins jobs and they are available at official ONAP docker registry
+(currently nexus3).