mirror of
https://github.com/farcasclaudiu/terraform-course.git
synced 2026-06-29 13:02:23 +03:00
@@ -30,18 +30,10 @@ echo "deb http://pkg.jenkins.io/debian-stable binary/" >> /etc/apt/sources.list
|
||||
apt-get update
|
||||
|
||||
# install dependencies
|
||||
apt-get install -y python3 openjdk-8-jre
|
||||
update-java-alternatives --set java-1.8.0-openjdk-amd64
|
||||
apt-get install -y python3 openjdk-11-jdk awscli
|
||||
# install jenkins
|
||||
apt-get install -y jenkins=${JENKINS_VERSION} unzip
|
||||
|
||||
# install pip
|
||||
wget -q https://bootstrap.pypa.io/get-pip.py
|
||||
python3 get-pip.py
|
||||
rm -f get-pip.py
|
||||
# install awscli
|
||||
pip install awscli
|
||||
|
||||
# install terraform
|
||||
wget -q https://releases.hashicorp.com/terraform/${TERRAFORM_VERSION}/terraform_${TERRAFORM_VERSION}_linux_amd64.zip \
|
||||
&& unzip -o terraform_${TERRAFORM_VERSION}_linux_amd64.zip -d /usr/local/bin \
|
||||
|
||||
Reference in New Issue
Block a user