docker demo 3 updates

This commit is contained in:
Edward Viaene
2022-02-08 14:15:18 -05:00
parent 55d189f0cc
commit f0b08d766d
2 changed files with 10 additions and 6 deletions
+6 -2
View File
@@ -29,8 +29,12 @@ apt-get update
apt-get install -y default-jre apt-get install -y default-jre
# install jenkins and docker # install jenkins and docker
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add - curl -fsSL https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo tee \
echo "deb http://pkg.jenkins.io/debian-stable binary/" >> /etc/apt/sources.list /usr/share/keyrings/jenkins-keyring.asc > /dev/null
echo deb [signed-by=/usr/share/keyrings/jenkins-keyring.asc] \
https://pkg.jenkins.io/debian-stable binary/ | sudo tee \
/etc/apt/sources.list.d/jenkins.list > /dev/null
apt-get update
apt-get install -y jenkins=${JENKINS_VERSION} unzip docker.io apt-get install -y jenkins=${JENKINS_VERSION} unzip docker.io
# enable docker and add perms # enable docker and add perms
+4 -4
View File
@@ -28,9 +28,9 @@ variable "ECS_AMIS" {
variable "AMIS" { variable "AMIS" {
type = map(string) type = map(string)
default = { default = {
us-east-1 = "ami-13be557e" us-east-1 = "ami-01b996646377b6619"
us-west-2 = "ami-06b94666" us-west-2 = "ami-0637e7dc7fcc9a2d9"
eu-west-1 = "ami-844e0bf7" eu-west-1 = "ami-081ff4b9aa4e81a08"
} }
} }
@@ -39,6 +39,6 @@ variable "INSTANCE_DEVICE_NAME" {
} }
variable "JENKINS_VERSION" { variable "JENKINS_VERSION" {
default = "2.303.1" default = "2.319.2"
} }