build.sh 443 Bytes
Newer Older
1 2 3
#!/bin/sh

git pull --rebase
4 5 6 7 8
git submodule update

  cd per-user/idno
  git checkout add-Dockerfile
  cd ../..
9

Michiel de Jong's avatar
Michiel de Jong committed
10 11 12 13
  cd per-user/anchorcms
  git checkout add-Dockerfile
  cd ../..

14 15 16 17 18 19 20
  for image in $(ls per-user/* | cut -d "/" -f 2); do
    echo sudo docker build -t indiehosters/$image per-user/$image/;
  done

  for image in $(ls server-wide/* | cut -d "/" -f 2); do
    echo sudo docker build -t indiehosters/$image server-wide/$image/;
  done