Skip to content

Commit

Permalink
change base image
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeWang1127 committed Dec 17, 2024
1 parent 1732a09 commit 11efa79
Showing 1 changed file with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,25 @@ 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 sudo ca-certificates curl
# Install docker, see https://docs.docker.com/engine/install/debian/#install-using-the-repository
# Install docker, see https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository
sudo apt-get update
sudo apt-get install ca-certificates curl
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:
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/debian \
"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
apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo apt-get update
sudo apt-get install \
docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin \
maven python
# Install python dependencies
pip install --upgrade pip
pip install --require-hashes -r hermetic_build/common/requirements.txt
Expand Down

0 comments on commit 11efa79

Please sign in to comment.