|
1 | 1 | NAME := selenium
|
2 | 2 | VERSION := $(or $(VERSION),$(VERSION),3.4.0-bismuth)
|
| 3 | +NAMESPACE := $(or $(NAMESPACE),$(NAMESPACE),$(NAME)) |
| 4 | +AUTHORS := $(or $(AUTHORS),$(AUTHORS),SeleniumHQ) |
3 | 5 | PLATFORM := $(shell uname -s)
|
4 | 6 | BUILD_ARGS := $(BUILD_ARGS)
|
5 | 7 | MAJOR := $(word 1,$(subst ., ,$(VERSION)))
|
@@ -29,67 +31,67 @@ base:
|
29 | 31 | cd ./Base && docker build $(BUILD_ARGS) -t $(NAME)/base:$(VERSION) .
|
30 | 32 |
|
31 | 33 | generate_hub:
|
32 |
| - cd ./Hub && ./generate.sh $(VERSION) |
| 34 | + cd ./Hub && ./generate.sh $(VERSION) $(NAMESPACE) $(AUTHORS) |
33 | 35 |
|
34 | 36 | hub: base generate_hub
|
35 | 37 | cd ./Hub && docker build $(BUILD_ARGS) -t $(NAME)/hub:$(VERSION) .
|
36 | 38 |
|
37 | 39 | generate_nodebase:
|
38 |
| - cd ./NodeBase && ./generate.sh $(VERSION) |
| 40 | + cd ./NodeBase && ./generate.sh $(VERSION) $(NAMESPACE) $(AUTHORS) |
39 | 41 |
|
40 | 42 | nodebase: base generate_nodebase
|
41 | 43 | cd ./NodeBase && docker build $(BUILD_ARGS) -t $(NAME)/node-base:$(VERSION) .
|
42 | 44 |
|
43 | 45 | generate_chrome:
|
44 |
| - cd ./NodeChrome && ./generate.sh $(VERSION) |
| 46 | + cd ./NodeChrome && ./generate.sh $(VERSION) $(NAMESPACE) $(AUTHORS) |
45 | 47 |
|
46 | 48 | chrome: nodebase generate_chrome
|
47 | 49 | cd ./NodeChrome && docker build $(BUILD_ARGS) -t $(NAME)/node-chrome:$(VERSION) .
|
48 | 50 |
|
49 | 51 | generate_firefox:
|
50 |
| - cd ./NodeFirefox && ./generate.sh $(VERSION) |
| 52 | + cd ./NodeFirefox && ./generate.sh $(VERSION) $(NAMESPACE) $(AUTHORS) |
51 | 53 |
|
52 | 54 | firefox: nodebase generate_firefox
|
53 | 55 | cd ./NodeFirefox && docker build $(BUILD_ARGS) -t $(NAME)/node-firefox:$(VERSION) .
|
54 | 56 |
|
55 | 57 | generate_standalone_firefox:
|
56 |
| - cd ./Standalone && ./generate.sh StandaloneFirefox node-firefox Firefox $(VERSION) |
| 58 | + cd ./Standalone && ./generate.sh StandaloneFirefox node-firefox Firefox $(VERSION) $(NAMESPACE) $(AUTHORS) |
57 | 59 |
|
58 | 60 | standalone_firefox: generate_standalone_firefox firefox
|
59 | 61 | cd ./StandaloneFirefox && docker build $(BUILD_ARGS) -t $(NAME)/standalone-firefox:$(VERSION) .
|
60 | 62 |
|
61 | 63 | generate_standalone_firefox_debug:
|
62 |
| - cd ./StandaloneDebug && ./generate.sh StandaloneFirefoxDebug standalone-firefox Firefox $(VERSION) |
| 64 | + cd ./StandaloneDebug && ./generate.sh StandaloneFirefoxDebug standalone-firefox Firefox $(VERSION) $(NAMESPACE) $(AUTHORS) |
63 | 65 |
|
64 | 66 | standalone_firefox_debug: generate_standalone_firefox_debug standalone_firefox
|
65 | 67 | cd ./StandaloneFirefoxDebug && docker build $(BUILD_ARGS) -t $(NAME)/standalone-firefox-debug:$(VERSION) .
|
66 | 68 |
|
67 | 69 | generate_standalone_chrome:
|
68 |
| - cd ./Standalone && ./generate.sh StandaloneChrome node-chrome Chrome $(VERSION) |
| 70 | + cd ./Standalone && ./generate.sh StandaloneChrome node-chrome Chrome $(VERSION) $(NAMESPACE) $(AUTHORS) |
69 | 71 |
|
70 | 72 | standalone_chrome: generate_standalone_chrome chrome
|
71 | 73 | cd ./StandaloneChrome && docker build $(BUILD_ARGS) -t $(NAME)/standalone-chrome:$(VERSION) .
|
72 | 74 |
|
73 | 75 | generate_standalone_chrome_debug:
|
74 |
| - cd ./StandaloneDebug && ./generate.sh StandaloneChromeDebug standalone-chrome Chrome $(VERSION) |
| 76 | + cd ./StandaloneDebug && ./generate.sh StandaloneChromeDebug standalone-chrome Chrome $(VERSION) $(NAMESPACE) $(AUTHORS) |
75 | 77 |
|
76 | 78 | standalone_chrome_debug: generate_standalone_chrome_debug standalone_chrome
|
77 | 79 | cd ./StandaloneChromeDebug && docker build $(BUILD_ARGS) -t $(NAME)/standalone-chrome-debug:$(VERSION) .
|
78 | 80 |
|
79 | 81 | generate_chrome_debug:
|
80 |
| - cd ./NodeDebug && ./generate.sh NodeChromeDebug node-chrome Chrome $(VERSION) |
| 82 | + cd ./NodeDebug && ./generate.sh NodeChromeDebug node-chrome Chrome $(VERSION) $(NAMESPACE) $(AUTHORS) |
81 | 83 |
|
82 | 84 | chrome_debug: generate_chrome_debug chrome
|
83 | 85 | cd ./NodeChromeDebug && docker build $(BUILD_ARGS) -t $(NAME)/node-chrome-debug:$(VERSION) .
|
84 | 86 |
|
85 | 87 | generate_firefox_debug:
|
86 |
| - cd ./NodeDebug && ./generate.sh NodeFirefoxDebug node-firefox Firefox $(VERSION) |
| 88 | + cd ./NodeDebug && ./generate.sh NodeFirefoxDebug node-firefox Firefox $(VERSION) $(NAMESPACE) $(AUTHORS) |
87 | 89 |
|
88 | 90 | firefox_debug: generate_firefox_debug firefox
|
89 | 91 | cd ./NodeFirefoxDebug && docker build $(BUILD_ARGS) -t $(NAME)/node-firefox-debug:$(VERSION) .
|
90 | 92 |
|
91 | 93 | generate_phantomjs:
|
92 |
| - cd ./NodePhantomJS && ./generate.sh $(VERSION) |
| 94 | + cd ./NodePhantomJS && ./generate.sh $(VERSION) $(NAMESPACE) $(AUTHORS) |
93 | 95 |
|
94 | 96 | phantomjs: nodebase generate_phantomjs
|
95 | 97 | cd ./NodePhantomJS && docker build $(BUILD_ARGS) -t $(NAME)/node-phantomjs:$(VERSION) .
|
|
0 commit comments