**packer install:
https://developer.hashicorp.com/packer/tutorials/docker-get-started/get-started-install-cli
For ubuntu tested ok:
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
sudo apt-get update && sudo apt-get install packer
-----------------Jenkins docker install ubuntu 20----
sudo apt-get update
sudo apt-get install -y docker.io
sudo usermod -aG docker $USER
sudo apt-get install -y wget
wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
sudo apt-get install -y jenkins
sudo systemctl start jenkins
sudo systemctl enable jenkins
sudo systemctl status jenkins
0 Comments