forked from tobiasbaehr/dockerfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathupdate.sh
More file actions
36 lines (28 loc) · 741 Bytes
/
update.sh
File metadata and controls
36 lines (28 loc) · 741 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/env bash
#set -o errexit
#set -x
set -o nounset
__DIR__="$(cd "$(dirname "${0}")"; echo $(pwd))"
__BASE__="$(basename "${0}")"
__FILE__="${__DIR__}/${__BASE__}"
if [ "$(docker images |grep memcached)" ];then
docker pull memcached
fi
if [ "$(docker images |grep reinblau/solr3)" ];then
docker pull reinblau/solr3
fi
if [ "$(docker images |grep reinblau/cmd)" ];then
docker pull reinblau/cmd
fi
if [ "$(docker images |grep reinblau/phpmyadmin)" ];then
docker pull reinblau/phpmyadmin
fi
if [ "$(docker images |grep mysql)" ];then
docker pull mysql:5.5
fi
if [ "$(docker images |grep mariadb)" ];then
docker pull mariadb:10.0
fi
if [ "$(docker images |grep reinblau/ungit)" ];then
docker pull reinblau/ungit
fi