forked from jbfavre/docker-vertica
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
71 lines (61 loc) · 3.05 KB
/
Makefile
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
VERSION80 = 8.0.1-6
VERSION81 = 8.1.1-16
VERSION81 = 8.1.1-16
VERSION90 = 9.0.1-5
push: push-9.0 push-8.1 push-8.0
push-9.0: build-9.0
docker tag jbfavre/vertica:$(VERSION90)_minidebian-8 jbfavre/vertica:experimental
docker tag jbfavre/vertica:$(VERSION90)_debian-8 jbfavre/vertica:9.0
docker tag jbfavre/vertica:$(VERSION90)_debian-8 jbfavre/vertica:latest
docker push jbfavre/vertica:$(VERSION90)_debian-8
docker push jbfavre/vertica:$(VERSION90)_ubuntu-14.04
docker push jbfavre/vertica:$(VERSION90)_centos-7
docker push jbfavre/vertica:9.0
docker push jbfavre/vertica:experimental
docker push jbfavre/vertica:latest
push-8.1: build-8.1
docker tag jbfavre/vertica:$(VERSION81)_debian-8 jbfavre/vertica:8.1
docker push jbfavre/vertica:$(VERSION81)_debian-8
docker push jbfavre/vertica:$(VERSION81)_ubuntu-14.04
docker push jbfavre/vertica:$(VERSION81)_centos-7
docker push jbfavre/vertica:8.1
push-8.0: build-8.0
docker tag jbfavre/vertica:$(VERSION80)_debian-8 jbfavre/vertica:8.0
docker push jbfavre/vertica:$(VERSION80)_minidebian-8
docker push jbfavre/vertica:$(VERSION80)_debian-8
docker push jbfavre/vertica:$(VERSION80)_ubuntu-14.04
docker push jbfavre/vertica:8.0
build: build-9.0 build-8.1 build-8.0
build-9.0:
docker build --rm=true -f Dockerfile.minidebian.8_9.0 \
-t jbfavre/vertica:$(VERSION90)_minidebian-8 .
docker build --rm=true -f Dockerfile.debian.8_9.0 \
-t jbfavre/vertica:$(VERSION90)_debian-8 .
docker build --rm=true -f Dockerfile.ubuntu.14.04_9.0 \
--build-arg VERTICA_PACKAGE=vertica_$(VERSION90)_amd64.deb \
-t jbfavre/vertica:$(VERSION90)_ubuntu-14.04 .
docker build --rm=true -f Dockerfile.centos.7_9.0 \
--build-arg VERTICA_PACKAGE=vertica-$(VERSION90).x86_64.RHEL6.rpm \
-t jbfavre/vertica:$(VERSION90)_centos-7 .
build-8.1:
docker build --rm=true -f Dockerfile.minidebian.8_8.1 \
-t jbfavre/vertica:$(VERSION81)_minidebian-8 .
docker build --rm=true -f Dockerfile.debian.8_8.1 \
-t jbfavre/vertica:$(VERSION81)_debian-8 .
docker build --rm=true -f Dockerfile.ubuntu.14.04_8.1 \
--build-arg VERTICA_PACKAGE=vertica_$(VERSION81)_amd64.deb \
-t jbfavre/vertica:$(VERSION81)_ubuntu-14.04 .
docker build --rm=true -f Dockerfile.centos.7_8.1 \
--build-arg VERTICA_PACKAGE=vertica-$(VERSION81).x86_64.RHEL6.rpm \
-t jbfavre/vertica:$(VERSION81)_centos-7 .
build-8.0:
docker build --rm=true -f Dockerfile.minidebian.8_8.0 \
-t jbfavre/vertica:$(VERSION80)_minidebian-8 .
docker build --rm=true -f Dockerfile.debian.8_8.0 \
-t jbfavre/vertica:$(VERSION80)_debian-8 .
docker build --rm=true -f Dockerfile.ubuntu.14.04_8.0 \
--build-arg VERTICA_PACKAGE=vertica_$(VERSION80)_amd64.deb \
-t jbfavre/vertica:$(VERSION80)_ubuntu-14.04 .
clean:
docker rm -v $(docker ps -a -q -f status=exited)
docker rmi $(docker images -f "dangling=true" -q)