Add C compiler tools
This commit is contained in:
parent
ea669acf7b
commit
73e31d79b1
|
@ -67,7 +67,10 @@ if ! which node >/dev/null; then
|
||||||
log "Installing nodejs.."
|
log "Installing nodejs.."
|
||||||
yum --enablerepo=epel install -y nodejs >"$LOG"
|
yum --enablerepo=epel install -y nodejs >"$LOG"
|
||||||
fi
|
fi
|
||||||
|
if ! which gcc >/dev/null; then
|
||||||
|
log "Installing C compiling tools.."
|
||||||
|
yum --enablerepo=epel group install -y "Development Tools" >"$LOG"
|
||||||
|
fi
|
||||||
|
|
||||||
log "Determining region this instance is in.."
|
log "Determining region this instance is in.."
|
||||||
REGION="$(curl -s $DYNDATA_URL/instance-identity/document | jq -r '.region')"
|
REGION="$(curl -s $DYNDATA_URL/instance-identity/document | jq -r '.region')"
|
||||||
|
|
Loading…
Reference in New Issue