File tree 1 file changed +16
-2
lines changed
1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -142,7 +142,14 @@ jobs:
142
142
- checkout
143
143
- run :
144
144
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
146
153
- setup_remote_docker
147
154
# Build and test the tip-of-tree build of EMSDK
148
155
- run :
@@ -158,7 +165,14 @@ jobs:
158
165
- checkout
159
166
- run :
160
167
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
162
176
- setup_remote_docker
163
177
- run :
164
178
name : build
You can’t perform that action at this time.
0 commit comments