File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -142,7 +142,14 @@ jobs:
142142 - checkout
143143 - run :
144144 name : install docker
145- command : apt-get update -q && apt-get install -q -y docker.io
145+ command : |
146+ apt-get update -q
147+ apt-get install -q -y ca-certificates curl gnupg lsb-release
148+ mkdir -p /etc/apt/keyrings
149+ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
150+ 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
151+ apt-get update -q
152+ sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
146153 - setup_remote_docker
147154 # Build and test the tip-of-tree build of EMSDK
148155 - run :
@@ -158,7 +165,14 @@ jobs:
158165 - checkout
159166 - run :
160167 name : install docker
161- command : apt-get update -q && apt-get install -q -y docker.io
168+ command : |
169+ apt-get update -q
170+ apt-get install -q -y ca-certificates curl gnupg lsb-release
171+ mkdir -p /etc/apt/keyrings
172+ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg
173+ 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
174+ apt-get update -q
175+ sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
162176 - setup_remote_docker
163177 - run :
164178 name : build
You can’t perform that action at this time.
0 commit comments