-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathimage.list
30 lines (28 loc) · 946 Bytes
/
image.list
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
## Adding new url of docker image here
urls=(
gcr.io/google-containers/hyperkube:v1.9.5
gcr.io/google_containers/pause-amd64:3.0
gcr.io/google_containers/k8s-dns-kube-dns-amd64:1.14.8
gcr.io/google_containers/k8s-dns-dnsmasq-nanny-amd64:1.14.8
gcr.io/google_containers/k8s-dns-sidecar-amd64:1.14.8
gcr.io/google_containers/cluster-proportional-autoscaler-amd64:1.1.2
gcr.io/google_containers/elasticsearch:v2.4.1
gcr.io/google_containers/fluentd-elasticsearch:1.22
gcr.io/google_containers/kibana:v4.6.1
gcr.io/kubernetes-helm/tiller:v2.8.1
gcr.io/kubernetes-helm/tiller:v2.8.0
gcr.io/google_containers/kube-registry-proxy:0.4
gcr.io/google_containers/defaultbackend:0.12.0
gcr.io/google_containers/kubernetes-dashboard-amd64:v1.8.3
)
for url in ${urls[@]}
do
image=$(basename $url)
if [ -f ${image} ]
then
echo "Dockerfile exists: ${image}"
else
echo "Creating Dockerfile: ${image}"
echo "FROM ${url}" > $image
fi
done