diff options
author | Dileep Ranganathan <dileep.ranganathan@intel.com> | 2018-07-30 15:52:05 -0700 |
---|---|---|
committer | Dileep Ranganathan <dileep.ranganathan@intel.com> | 2018-07-30 15:52:05 -0700 |
commit | 604d385c7678bc7abd1ebbd85218484910e70e8a (patch) | |
tree | cb561ed4c0ce8cb9fc68f280fae0a13cf8bbab16 /docker | |
parent | f15a7865c2174c4b8a1d505b21e245411ad7738b (diff) |
Added missing sudo privileges
Added the missing sudo privilieges required to install packages
Change-Id: Ic59a83eac17a18f24e78a7a52823dbb58ad58b08
Issue-ID: OPTFRA-301
Signed-off-by: Dileep Ranganathan <dileep.ranganathan@intel.com>
Diffstat (limited to 'docker')
-rwxr-xr-x | docker/build_image.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/build_image.sh b/docker/build_image.sh index 3c1b22a..6930c5c 100755 --- a/docker/build_image.sh +++ b/docker/build_image.sh @@ -43,7 +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 + sudo 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 |