Skip to content

Commit

Permalink
Add repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
guoshiuan committed Nov 19, 2024
1 parent 8164925 commit 4204091
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cloudbuild/external.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ build {
"sudo apt-get install apt-transport-https ca-certificates curl gnupg lsb-release -y",
"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 glinux-add-repo docker-ce-"$(lsb_release -cs)"",
"sudo apt-get update",
"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",
Expand Down
1 change: 1 addition & 0 deletions cloudbuild/internal.pkr.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ build {
"sudo apt-get install apt-transport-https ca-certificates curl gnupg lsb-release -y",
"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 glinux-add-repo docker-ce-"$(lsb_release -cs)"",
"sudo apt-get update",
"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",
Expand Down

0 comments on commit 4204091

Please sign in to comment.