Browse code

Use https for `git clone` in build

Signed-off-by: Harald Albers <github@albersweb.de>

Harald Albers authored on 2016/03/29 16:35:42
Showing 9 changed files
... ...
@@ -250,7 +250,7 @@ RUN set -x \
250 250
 ENV RUNC_COMMIT d563bd134293c1026976a8f5764d5df5612f1dbf
251 251
 RUN set -x \
252 252
 	&& export GOPATH="$(mktemp -d)" \
253
-	&& git clone git://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \
253
+	&& git clone https://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \
254 254
 	&& cd "$GOPATH/src/github.com/opencontainers/runc" \
255 255
 	&& git checkout -q "$RUNC_COMMIT" \
256 256
 	&& make static BUILDTAGS="seccomp apparmor selinux" \
... ...
@@ -260,7 +260,7 @@ RUN set -x \
260 260
 ENV CONTAINERD_COMMIT c761085e92be09df9d5298f852c328b538f5dc2f
261 261
 RUN set -x \
262 262
 	&& export GOPATH="$(mktemp -d)" \
263
-	&& git clone git://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \
263
+	&& git clone https://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \
264 264
 	&& cd "$GOPATH/src/github.com/docker/containerd" \
265 265
 	&& git checkout -q "$CONTAINERD_COMMIT" \
266 266
 	&& make static \
... ...
@@ -184,7 +184,7 @@ RUN set -x \
184 184
 ENV RUNC_COMMIT d563bd134293c1026976a8f5764d5df5612f1dbf
185 185
 RUN set -x \
186 186
 	&& export GOPATH="$(mktemp -d)" \
187
-	&& git clone git://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \
187
+	&& git clone https://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \
188 188
 	&& cd "$GOPATH/src/github.com/opencontainers/runc" \
189 189
 	&& git checkout -q "$RUNC_COMMIT" \
190 190
 	&& make static BUILDTAGS="seccomp apparmor selinux" \
... ...
@@ -194,7 +194,7 @@ RUN set -x \
194 194
 ENV CONTAINERD_COMMIT c761085e92be09df9d5298f852c328b538f5dc2f
195 195
 RUN set -x \
196 196
 	&& export GOPATH="$(mktemp -d)" \
197
-	&& git clone git://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \
197
+	&& git clone https://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \
198 198
 	&& cd "$GOPATH/src/github.com/docker/containerd" \
199 199
 	&& git checkout -q "$CONTAINERD_COMMIT" \
200 200
 	&& make static \
... ...
@@ -201,7 +201,7 @@ RUN set -x \
201 201
 ENV RUNC_COMMIT d563bd134293c1026976a8f5764d5df5612f1dbf
202 202
 RUN set -x \
203 203
 	&& export GOPATH="$(mktemp -d)" \
204
-	&& git clone git://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \
204
+	&& git clone https://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \
205 205
 	&& cd "$GOPATH/src/github.com/opencontainers/runc" \
206 206
 	&& git checkout -q "$RUNC_COMMIT" \
207 207
 	&& make static BUILDTAGS="seccomp apparmor selinux" \
... ...
@@ -211,7 +211,7 @@ RUN set -x \
211 211
 ENV CONTAINERD_COMMIT c761085e92be09df9d5298f852c328b538f5dc2f
212 212
 RUN set -x \
213 213
 	&& export GOPATH="$(mktemp -d)" \
214
-	&& git clone git://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \
214
+	&& git clone https://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \
215 215
 	&& cd "$GOPATH/src/github.com/docker/containerd" \
216 216
 	&& git checkout -q "$CONTAINERD_COMMIT" \
217 217
 	&& make static \
... ...
@@ -77,7 +77,7 @@ ENV DOCKER_BUILDTAGS apparmor seccomp selinux
77 77
 ENV RUNC_COMMIT d563bd134293c1026976a8f5764d5df5612f1dbf
78 78
 RUN set -x \
79 79
 	&& export GOPATH="$(mktemp -d)" \
80
-	&& git clone git://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \
80
+	&& git clone https://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \
81 81
 	&& cd "$GOPATH/src/github.com/opencontainers/runc" \
82 82
 	&& git checkout -q "$RUNC_COMMIT" \
83 83
 	&& make static BUILDTAGS="seccomp apparmor selinux" \
... ...
@@ -87,7 +87,7 @@ RUN set -x \
87 87
 ENV CONTAINERD_COMMIT c761085e92be09df9d5298f852c328b538f5dc2f
88 88
 RUN set -x \
89 89
 	&& export GOPATH="$(mktemp -d)" \
90
-	&& git clone git://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \
90
+	&& git clone https://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \
91 91
 	&& cd "$GOPATH/src/github.com/docker/containerd" \
92 92
 	&& git checkout -q "$CONTAINERD_COMMIT" \
93 93
 	&& make static \
... ...
@@ -202,7 +202,7 @@ RUN set -x \
202 202
 ENV RUNC_COMMIT d563bd134293c1026976a8f5764d5df5612f1dbf
203 203
 RUN set -x \
204 204
 	&& export GOPATH="$(mktemp -d)" \
205
-	&& git clone git://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \
205
+	&& git clone https://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \
206 206
 	&& cd "$GOPATH/src/github.com/opencontainers/runc" \
207 207
 	&& git checkout -q "$RUNC_COMMIT" \
208 208
 	&& make static BUILDTAGS="apparmor selinux" \
... ...
@@ -212,7 +212,7 @@ RUN set -x \
212 212
 ENV CONTAINERD_COMMIT c761085e92be09df9d5298f852c328b538f5dc2f
213 213
 RUN set -x \
214 214
 	&& export GOPATH="$(mktemp -d)" \
215
-	&& git clone git://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \
215
+	&& git clone https://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \
216 216
 	&& cd "$GOPATH/src/github.com/docker/containerd" \
217 217
 	&& git checkout -q "$CONTAINERD_COMMIT" \
218 218
 	&& make static \
... ...
@@ -181,7 +181,7 @@ RUN set -x \
181 181
 ENV RUNC_COMMIT d563bd134293c1026976a8f5764d5df5612f1dbf
182 182
 RUN set -x \
183 183
 	&& export GOPATH="$(mktemp -d)" \
184
-	&& git clone git://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \
184
+	&& git clone https://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \
185 185
 	&& cd "$GOPATH/src/github.com/opencontainers/runc" \
186 186
 	&& git checkout -q "$RUNC_COMMIT" \
187 187
 	&& make static BUILDTAGS="seccomp apparmor selinux" \
... ...
@@ -191,7 +191,7 @@ RUN set -x \
191 191
 ENV CONTAINERD_COMMIT c761085e92be09df9d5298f852c328b538f5dc2f
192 192
 RUN set -x \
193 193
 	&& export GOPATH="$(mktemp -d)" \
194
-	&& git clone git://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \
194
+	&& git clone https://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \
195 195
 	&& cd "$GOPATH/src/github.com/docker/containerd" \
196 196
 	&& git checkout -q "$CONTAINERD_COMMIT" \
197 197
 	&& make static \
... ...
@@ -60,7 +60,7 @@ ENV CGO_LDFLAGS -L/lib
60 60
 ENV RUNC_COMMIT d563bd134293c1026976a8f5764d5df5612f1dbf
61 61
 RUN set -x \
62 62
 	&& export GOPATH="$(mktemp -d)" \
63
-	&& git clone git://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \
63
+	&& git clone https://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \
64 64
 	&& cd "$GOPATH/src/github.com/opencontainers/runc" \
65 65
 	&& git checkout -q "$RUNC_COMMIT" \
66 66
 	&& make static BUILDTAGS="seccomp apparmor selinux" \
... ...
@@ -70,7 +70,7 @@ RUN set -x \
70 70
 ENV CONTAINERD_COMMIT c761085e92be09df9d5298f852c328b538f5dc2f
71 71
 RUN set -x \
72 72
 	&& export GOPATH="$(mktemp -d)" \
73
-	&& git clone git://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \
73
+	&& git clone https://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \
74 74
 	&& cd "$GOPATH/src/github.com/docker/containerd" \
75 75
 	&& git checkout -q "$CONTAINERD_COMMIT" \
76 76
 	&& make static \
... ...
@@ -69,13 +69,13 @@ set -e
69 69
 		# add runc and containerd compile and install
70 70
 		cat >> "$DEST/$version/Dockerfile.build" <<-EOF
71 71
 			# Install runc
72
-			RUN git clone git://github.com/opencontainers/runc.git "/go/src/github.com/opencontainers/runc" \
72
+			RUN git clone https://github.com/opencontainers/runc.git "/go/src/github.com/opencontainers/runc" \
73 73
 					&& cd "/go/src/github.com/opencontainers/runc" \
74 74
 					&& git checkout -q "\$RUNC_COMMIT"
75 75
 			RUN set -x && export GOPATH="/go" && cd "/go/src/github.com/opencontainers/runc" \
76 76
 					&& make BUILDTAGS="\$RUNC_BUILDTAGS" && make install
77 77
 			# Install containerd
78
-			RUN git clone git://github.com/docker/containerd.git "/go/src/github.com/docker/containerd" \
78
+			RUN git clone https://github.com/docker/containerd.git "/go/src/github.com/docker/containerd" \
79 79
 					&& cd "/go/src/github.com/docker/containerd" \
80 80
 					&& git checkout -q "\$CONTAINERD_COMMIT"
81 81
 			RUN set -x && export GOPATH="/go" && cd "/go/src/github.com/docker/containerd" && make && make install
... ...
@@ -97,13 +97,13 @@ set -e
97 97
 		# add runc and containerd compile and install
98 98
 		cat >> "$DEST/$version/Dockerfile.build" <<-EOF
99 99
 			# Install runc
100
-			RUN git clone git://github.com/opencontainers/runc.git "/go/src/github.com/opencontainers/runc" \
100
+			RUN git clone https://github.com/opencontainers/runc.git "/go/src/github.com/opencontainers/runc" \
101 101
 					&& cd "/go/src/github.com/opencontainers/runc" \
102 102
 					&& git checkout -q "\$RUNC_COMMIT"
103 103
 			RUN set -x && export GOPATH="/go" && cd "/go/src/github.com/opencontainers/runc" \
104 104
 					&& make BUILDTAGS="\$RUNC_BUILDTAGS" && make install
105 105
 			# Install containerd
106
-			RUN git clone git://github.com/docker/containerd.git "/go/src/github.com/docker/containerd" \
106
+			RUN git clone https://github.com/docker/containerd.git "/go/src/github.com/docker/containerd" \
107 107
 					&& cd "/go/src/github.com/docker/containerd" \
108 108
 					&& git checkout -q "\$CONTAINERD_COMMIT"
109 109
 			RUN set -x && export GOPATH="/go" && cd "/go/src/github.com/docker/containerd" && make && make install