source: ProjectBuilder/devel/contrib/mkallctn@ 2351

Last change on this file since 2351 was 2351, checked in by Bruno Cornec, 5 years ago

Update scripts to automate container building (still more to do)

  • Property svn:executable set to *
File size: 497 bytes
Line 
1#!/bin/bash
2#
3vedir=`grep -2 vepath ~/.pbrc.yml | grep default: | cut -d: -f2`
4distros=`grep -2 velist $vedir/.pbrc.yml | grep default: | cut -d: -f2`
5
6for pbos in `echo $distros | sed 's/,/ /g';
7do
8 d=`echo $pbos | cut -d- -f1`
9 v=`echo $pbos | cut -d- -f2`
10 docker pull ${d}:$v
11 # Check status to see whether we shodl go further
12 if [ _"$d" = _"mageia" ]; then
13 /users/bruno/svn-git/pb/devel/contrib/mkctn $d $v mageiaofficial
14 else
15 /users/bruno/svn-git/pb/devel/contrib/mkctn $d $v
16 fi
17done
Note: See TracBrowser for help on using the repository browser.