@@ -172,31 +172,6 @@ const main = async () => {
172
172
// Create empty .env file
173
173
fs . writeFileSync ( resolve ( monorepoRoot , 'tools/docker/.env' ) , '' ) ;
174
174
175
- const images = [
176
- { name : 'mariadb:lts' } ,
177
- { name : 'automattic/jetpack-wordpress-dev:latest' } ,
178
- { name : 'phpmyadmin/phpmyadmin:latest' , platform : 'linux/amd64' } ,
179
- { name : 'maildev/maildev' , platform : 'linux/amd64' } ,
180
- { name : 'atmoz/sftp' , platform : 'linux/amd64' } ,
181
- ] ;
182
-
183
- for ( const image of images ) {
184
- const inspect = spawnSync ( 'docker' , [ 'image' , 'inspect' , image . name ] , {
185
- stdio : 'ignore' ,
186
- } ) ;
187
- if ( inspect . status !== 0 ) {
188
- console . log ( chalk . blue ( `Pulling ${ image . name } ...` ) ) ;
189
- const pullArgs = [ 'pull' , image . name ] ;
190
- if ( image . platform ) {
191
- pullArgs . splice ( 1 , 0 , '--platform' , image . platform ) ;
192
- }
193
- const pull = spawnSync ( 'docker' , pullArgs , { stdio : 'inherit' } ) ;
194
- if ( pull . status !== 0 ) {
195
- throw new Error ( `Failed to pull ${ image . name } ` ) ;
196
- }
197
- }
198
- }
199
-
200
175
const configResult = spawnSync (
201
176
resolve ( monorepoRoot , 'tools/docker/bin/monorepo' ) ,
202
177
[ 'pnpm' , 'jetpack' , 'docker' , 'config' ] ,
0 commit comments