Skip to content

Commit

Permalink
Pin docker version to 27.2.1 in KNE VM image.
Browse files Browse the repository at this point in the history
  • Loading branch information
guoshiuan committed Nov 18, 2024
1 parent b25db18 commit 8164925
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cloudbuild/external.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ build {
"curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg",
"echo \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable\" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null",
"sudo apt-get update",
"sudo apt-get install docker-ce docker-ce-cli containerd.io build-essential -y",
"sudo apt-get install docker-ce=27.2.1 docker-ce-cli=27.2.1 containerd.io=1.7.22 build-essential -y",
"sudo usermod -aG docker $USER",
"sudo docker version",
"sudo apt-get install openvswitch-switch-dpdk -y", # install openvswitch for cisco containers
Expand Down
2 changes: 1 addition & 1 deletion cloudbuild/internal.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ build {
"curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg",
"echo \"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian $(lsb_release -cs) stable\" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null",
"sudo apt-get update",
"sudo apt-get install docker-ce docker-ce-cli containerd.io build-essential -y",
"sudo apt-get install docker-ce=27.2.1 docker-ce-cli=27.2.1 containerd.io=1.7.22 build-essential -y",
"sudo usermod -aG docker $USER",
"sudo docker version",
"sudo apt-get install openvswitch-switch-dpdk -y", # install openvswitch for cisco containers
Expand Down

0 comments on commit 8164925

Please sign in to comment.