Add -f argument to curl to exit nonzero and try mirror if primary
[arvados.git] / build / package-build-dockerfiles / Makefile
1 all: centos6/generated centos7/generated debian7/generated debian8/generated ubuntu1204/generated ubuntu1404/generated
2
3 centos6/generated: common-generated-all
4         test -d centos6/generated || mkdir centos6/generated
5         cp -rlt centos6/generated common-generated/*
6
7 centos7/generated: common-generated-all
8         test -d centos7/generated || mkdir centos7/generated
9         cp -rlt centos7/generated common-generated/*
10
11 debian7/generated: common-generated-all
12         test -d debian7/generated || mkdir debian7/generated
13         cp -rlt debian7/generated common-generated/*
14
15 debian8/generated: common-generated-all
16         test -d debian8/generated || mkdir debian8/generated
17         cp -rlt debian8/generated common-generated/*
18
19 ubuntu1204/generated: common-generated-all
20         test -d ubuntu1204/generated || mkdir ubuntu1204/generated
21         cp -rlt ubuntu1204/generated common-generated/*
22
23 ubuntu1404/generated: common-generated-all
24         test -d ubuntu1404/generated || mkdir ubuntu1404/generated
25         cp -rlt ubuntu1404/generated common-generated/*
26
27 GOTARBALL=go1.6.2.linux-amd64.tar.gz
28
29 common-generated-all: common-generated/$(GOTARBALL)
30
31 common-generated/$(GOTARBALL): common-generated
32         wget -cqO common-generated/$(GOTARBALL) http://storage.googleapis.com/golang/$(GOTARBALL)
33
34 common-generated:
35         mkdir common-generated