Skip to content

Commit

Permalink
install docker
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeWang1127 committed Dec 17, 2024
1 parent 427ddac commit e9f8036
Showing 1 changed file with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,24 @@ steps:
id: library-generation-build
waitFor: ["-"]

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

0 comments on commit e9f8036

Please sign in to comment.