Fix the docker build image workflow 29/59729/2 v1.2.0
authorDileep Ranganathan <dileep.ranganathan@intel.com>
Wed, 8 Aug 2018 13:02:41 +0000 (06:02 -0700)
committerDileep Ranganathan <dileep.ranganathan@intel.com>
Wed, 8 Aug 2018 14:29:57 +0000 (07:29 -0700)
commit27553f737c5d9717d5ef96b38cda3bfa52e9ccc1
tree1eedbfc98c70da82e4e207df4ff5562fa78230f7
parentfd43ca256b21606c64d1463a3cd024fbf73b4a54
Fix the docker build image workflow

Fixed the Docker build image workflow.

Added seperate tagging for SNAPSHOT-latest and STAGING-latest

There are two docker jobs currently. One produces SNAPSHOT images
and other produces STAGING images. SNAPSHOT images are build from
nexus2 maven snapshots artifacts where as STAGING images are built
from nexus2 maven releases artifacts.

Removed libxml2-utils dependency from docker build image script.
Since the dedicated docker node might be shared by multiple jobs,
apt-get install inside the script might cause conflict and cause
failure of the docker jenkins jobs. Moved the dependency to be part
of the jenkins infrastructure node itself.

Change-Id: I122974c984b1b0ece98bbd5a783d7923504abf3e
Issue-ID: OPTFRA-301
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
build-dockers.sh