Add build-essential for pip-installed packages requiring compilation in AWS dynamic cluster management service

This commit is contained in:
allegroai 2020-01-14 11:43:41 +02:00
parent aeede81474
commit dee2475698

View File

@ -275,7 +275,8 @@
" sudo apt-get install -y python3-pip\n", " sudo apt-get install -y python3-pip\n",
" sudo apt-get install -y gcc\n", " sudo apt-get install -y gcc\n",
" sudo apt-get install -y git\n", " sudo apt-get install -y git\n",
" sudo python3 -m pip install screen\n", " sudo apt-get install -y build-essential\n",
python3 -m pip install screen\n",
" sudo python3 -m pip install trains-agent\n", " sudo python3 -m pip install trains-agent\n",
" echo 'agent.git_user=\\\"{git_user}\\\"' >> /root/trains.conf\n", " echo 'agent.git_user=\\\"{git_user}\\\"' >> /root/trains.conf\n",
" echo 'agent.git_pass=\\\"{git_pass}\\\"' >> /root/trains.conf\n", " echo 'agent.git_pass=\\\"{git_pass}\\\"' >> /root/trains.conf\n",