Skip to content
Snippets Groups Projects
Commit 158d1d3b authored by Jeremy Mordkoff's avatar Jeremy Mordkoff
Browse files

make sure that sudo and make are installed before invoking the MDG build script


Signed-off-by: default avatarJeremy Mordkoff <jeremy.mordkoff@riftio.com>
parent 9713ede3
No related branches found
No related tags found
No related merge requests found
......@@ -37,9 +37,9 @@ if ! container_exists $OSM_BUILD_CONTAINER; then
wait_container_up $OSM_BUILD_CONTAINER
RE="fedora|fc[0-9]"
if [[ $OSM_BASE_IMAGE =~ $RE ]]; then
container_exec $OSM_BUILD_CONTAINER yum -y install git tar
container_exec $OSM_BUILD_CONTAINER yum -y install git tar make sudo
else
container_exec $OSM_BUILD_CONTAINER apt -y install git realpath
container_exec $OSM_BUILD_CONTAINER apt -y install git realpath make sudo
fi
if [ ${OSM_USE_LOCAL_DEVOPS:-false} ]; then
container_push_devops $OSM_BUILD_CONTAINER
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment