Skip to content

Commit e9f8036

Browse files
committed
install docker
1 parent 427ddac commit e9f8036

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.cloudbuild/library_generation/cloudbuild-library-generation-integration-test.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,24 @@ steps:
3030
id: library-generation-build
3131
waitFor: ["-"]
3232

33-
- name: python:3.13.1
33+
- name: ubuntu:25.04
3434
entrypoint: bash
3535
args:
3636
- "-c"
3737
- |
3838
apt-get update
39-
apt-get -y install maven
39+
apt-get -y install maven sudo ca-certificates curl
40+
# Install docker, see https://docs.docker.com/engine/install/debian/#install-using-the-repository
41+
sudo install -m 0755 -d /etc/apt/keyrings
42+
curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
43+
chmod a+r /etc/apt/keyrings/docker.asc
44+
# Add the repository to Apt sources:
45+
echo \
46+
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \
47+
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
48+
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
4049
apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
50+
# Install python dependencies
4151
pip install --upgrade pip
4252
pip install --require-hashes -r hermetic_build/common/requirements.txt
4353
pip install hermetic_build/common

0 commit comments

Comments
 (0)