From 7472e933ecfbbdf4b20f7419ca7b4a4af7a29c04 Mon Sep 17 00:00:00 2001 From: Luke Imhoff Date: Thu, 21 Jun 2018 14:42:59 -0500 Subject: [PATCH] Install gcc to compile NIFs during CodeDeploy --- modules/stack/libexec/init.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/stack/libexec/init.sh b/modules/stack/libexec/init.sh index e706f52..c210f4b 100755 --- a/modules/stack/libexec/init.sh +++ b/modules/stack/libexec/init.sh @@ -184,6 +184,10 @@ if [ "$(has_db)" != "1" ]; then -c "CREATE DATABASE $DB_NAME;" >"$LOG" fi +log "Installing gcc for NIF compilation during code deploy" + +yum install -y --enablerepo=epel gcc >"$LOG" + log "Application environment is ready!" log "Starting CodeDeploy agent.."