Skip to content

Commit

Permalink
install golang without version (#2176)
Browse files Browse the repository at this point in the history
  • Loading branch information
arturrez authored Sep 24, 2024
1 parent 3a94b29 commit a1571fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/packer/aws-ubuntu-docker.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ build {
inline = [
"export DEBIAN_FRONTEND=noninteractive",
"sudo add-apt-repository -y ppa:longsleep/golang-backports",
"sudo apt-get -y update && sudo apt-get -y dist-upgrade && sudo apt-get -y install ca-certificates curl gcc git golang-go=2:1.22~3longsleep1",
"sudo apt-get -y update && sudo apt-get -y dist-upgrade && sudo apt-get -y install ca-certificates curl gcc git golang-go",
"sudo install -m 0755 -d /etc/apt/keyrings && sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc && sudo chmod a+r /etc/apt/keyrings/docker.asc",
"echo \"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo \"$VERSION_CODENAME\") stable\" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null",
"sudo apt-get -y update && sudo apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker-compose",
Expand Down

0 comments on commit a1571fe

Please sign in to comment.