Simplify Centos Dockerfile for Molecule
Base the Centos image for molecule on official
CentOS systemd docker container.
Align the tagging policy with Centos images
on docker hub.
Change-Id: Ia2743ab78faed858dc5a7f3611cffb779b23d463
Issue-ID: OOM-1774
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
diff --git a/ansible/test/images/docker/centos7/build.sh b/ansible/test/images/docker/centos7/build.sh
index fe0aea6..dede521 100755
--- a/ansible/test/images/docker/centos7/build.sh
+++ b/ansible/test/images/docker/centos7/build.sh
@@ -19,4 +19,5 @@
# COPYRIGHT NOTICE ENDS HERE
set -e
-docker build . -t molecule-centos7:latest
+TAG=${1:-centos7.6}
+docker build . -t molecule-centos:${TAG}