diff options
author | Dileep Ranganathan <dileep.ranganathan@intel.com> | 2018-07-30 03:33:50 -0700 |
---|---|---|
committer | Dileep Ranganathan <dileep.ranganathan@intel.com> | 2018-07-30 04:05:49 -0700 |
commit | f15a7865c2174c4b8a1d505b21e245411ad7738b (patch) | |
tree | 02ffc9c339166cb66f15b839ee865d395485d0b7 /docker | |
parent | 70d110ddddf96879a0a68d4a794ba70f770f6a84 (diff) |
Missing xmllint package for version scraping
Installed missing xmllint package for version scraping
Change-Id: I019c8d43ef145b3713f7267d52bd14fec5df2a76
Issue-ID: OPTFRA-301
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/build_image.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docker/build_image.sh b/docker/build_image.sh index d5e153b..3c1b22a 100755 --- a/docker/build_image.sh +++ b/docker/build_image.sh @@ -43,6 +43,7 @@ function log_ts() { # Log message with timestamp function get_artifact_version() { log_ts Get Maven Artifact version from pom.xml + apt-get install libxml2-utils MVN_ARTIFACT_VERSION=`echo -e "setns x=http://maven.apache.org/POM/4.0.0 \n xpath /x:project/x:version/text() "| xmllint --shell pom.xml | grep content | sed 's/.*content=//'` log_ts Maven artifact version for OSDF is $MVN_ARTIFACT_VERSION if [[ "$MVN_ARTIFACT_VERSION" =~ SNAPSHOT ]]; then |