Skip to content

Commit

Permalink
docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
wentaojin committed Nov 18, 2024
1 parent 74e3a1c commit 88c9d80
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,10 @@ jobs:
run: |
sudo apt-get update
sudo apt remove docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc
sudo apt-get install curl -y
- name: Prepare New Docker Environment
run: |
sudo apt-get update
sudo apt install ca-certificates curl gnupg lsb-release
sudo install -m 0755 -d /etc/apt/keyrings
sudo chmod a+r /etc/apt/keyrings/docker.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
curl -fsSL https://get.docker.com | bash -s docker --mirror Aliyun
- name: View New Docker Environment
run: |
sudo docker -v
Expand Down

0 comments on commit 88c9d80

Please sign in to comment.