Skip to content

Commit

Permalink
Switch to the new docker installation
Browse files Browse the repository at this point in the history
  • Loading branch information
DreamOfIce committed Feb 6, 2023
1 parent 61b1a75 commit eb70195
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,14 @@ jobs:
- checkout
- run:
name: install docker
command: apt-get update -q && apt-get install -q -y docker.io
command: |
apt-get update -q
apt-get install -q -y ca-certificates curl gnupg lsb-release
mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update -q
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
- setup_remote_docker
# Build and test the tip-of-tree build of EMSDK
- run:
Expand All @@ -158,7 +165,14 @@ jobs:
- checkout
- run:
name: install docker
command: apt-get update -q && apt-get install -q -y docker.io
command: |
apt-get update -q
apt-get install -q -y ca-certificates curl gnupg lsb-release
mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
apt-get update -q
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
- setup_remote_docker
- run:
name: build
Expand Down

0 comments on commit eb70195

Please sign in to comment.