From a7e9bf6cb70117005dbcd4a987a7f30e3c605656 Mon Sep 17 00:00:00 2001 From: Harald Albers Date: Tue, 29 Mar 2016 09:35:42 +0200 Subject: [PATCH] Use https for `git clone` in build Signed-off-by: Harald Albers --- Dockerfile | 4 ++-- Dockerfile.aarch64 | 4 ++-- Dockerfile.armhf | 4 ++-- Dockerfile.gccgo | 4 ++-- Dockerfile.ppc64le | 4 ++-- Dockerfile.s390x | 4 ++-- Dockerfile.simple | 4 ++-- hack/make/build-deb | 4 ++-- hack/make/build-rpm | 4 ++-- 9 files changed, 18 insertions(+), 18 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0a9cc1204e..aebd14eaab 100644 --- a/Dockerfile +++ b/Dockerfile @@ -250,7 +250,7 @@ RUN set -x \ ENV RUNC_COMMIT d563bd134293c1026976a8f5764d5df5612f1dbf RUN set -x \ && export GOPATH="$(mktemp -d)" \ - && git clone git://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \ + && git clone https://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \ && cd "$GOPATH/src/github.com/opencontainers/runc" \ && git checkout -q "$RUNC_COMMIT" \ && make static BUILDTAGS="seccomp apparmor selinux" \ @@ -260,7 +260,7 @@ RUN set -x \ ENV CONTAINERD_COMMIT c761085e92be09df9d5298f852c328b538f5dc2f RUN set -x \ && export GOPATH="$(mktemp -d)" \ - && git clone git://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \ + && git clone https://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \ && cd "$GOPATH/src/github.com/docker/containerd" \ && git checkout -q "$CONTAINERD_COMMIT" \ && make static \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 3d50968eec..c09527088f 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -184,7 +184,7 @@ RUN set -x \ ENV RUNC_COMMIT d563bd134293c1026976a8f5764d5df5612f1dbf RUN set -x \ && export GOPATH="$(mktemp -d)" \ - && git clone git://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \ + && git clone https://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \ && cd "$GOPATH/src/github.com/opencontainers/runc" \ && git checkout -q "$RUNC_COMMIT" \ && make static BUILDTAGS="seccomp apparmor selinux" \ @@ -194,7 +194,7 @@ RUN set -x \ ENV CONTAINERD_COMMIT c761085e92be09df9d5298f852c328b538f5dc2f RUN set -x \ && export GOPATH="$(mktemp -d)" \ - && git clone git://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \ + && git clone https://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \ && cd "$GOPATH/src/github.com/docker/containerd" \ && git checkout -q "$CONTAINERD_COMMIT" \ && make static \ diff --git a/Dockerfile.armhf b/Dockerfile.armhf index aa016a56dc..752ca74f17 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -201,7 +201,7 @@ RUN set -x \ ENV RUNC_COMMIT d563bd134293c1026976a8f5764d5df5612f1dbf RUN set -x \ && export GOPATH="$(mktemp -d)" \ - && git clone git://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \ + && git clone https://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \ && cd "$GOPATH/src/github.com/opencontainers/runc" \ && git checkout -q "$RUNC_COMMIT" \ && make static BUILDTAGS="seccomp apparmor selinux" \ @@ -211,7 +211,7 @@ RUN set -x \ ENV CONTAINERD_COMMIT c761085e92be09df9d5298f852c328b538f5dc2f RUN set -x \ && export GOPATH="$(mktemp -d)" \ - && git clone git://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \ + && git clone https://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \ && cd "$GOPATH/src/github.com/docker/containerd" \ && git checkout -q "$CONTAINERD_COMMIT" \ && make static \ diff --git a/Dockerfile.gccgo b/Dockerfile.gccgo index 8135bc1c5a..f76feb4b9b 100644 --- a/Dockerfile.gccgo +++ b/Dockerfile.gccgo @@ -77,7 +77,7 @@ ENV DOCKER_BUILDTAGS apparmor seccomp selinux ENV RUNC_COMMIT d563bd134293c1026976a8f5764d5df5612f1dbf RUN set -x \ && export GOPATH="$(mktemp -d)" \ - && git clone git://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \ + && git clone https://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \ && cd "$GOPATH/src/github.com/opencontainers/runc" \ && git checkout -q "$RUNC_COMMIT" \ && make static BUILDTAGS="seccomp apparmor selinux" \ @@ -87,7 +87,7 @@ RUN set -x \ ENV CONTAINERD_COMMIT c761085e92be09df9d5298f852c328b538f5dc2f RUN set -x \ && export GOPATH="$(mktemp -d)" \ - && git clone git://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \ + && git clone https://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \ && cd "$GOPATH/src/github.com/docker/containerd" \ && git checkout -q "$CONTAINERD_COMMIT" \ && make static \ diff --git a/Dockerfile.ppc64le b/Dockerfile.ppc64le index 6c5f8372bf..5ad378e9c8 100644 --- a/Dockerfile.ppc64le +++ b/Dockerfile.ppc64le @@ -202,7 +202,7 @@ RUN set -x \ ENV RUNC_COMMIT d563bd134293c1026976a8f5764d5df5612f1dbf RUN set -x \ && export GOPATH="$(mktemp -d)" \ - && git clone git://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \ + && git clone https://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \ && cd "$GOPATH/src/github.com/opencontainers/runc" \ && git checkout -q "$RUNC_COMMIT" \ && make static BUILDTAGS="apparmor selinux" \ @@ -212,7 +212,7 @@ RUN set -x \ ENV CONTAINERD_COMMIT c761085e92be09df9d5298f852c328b538f5dc2f RUN set -x \ && export GOPATH="$(mktemp -d)" \ - && git clone git://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \ + && git clone https://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \ && cd "$GOPATH/src/github.com/docker/containerd" \ && git checkout -q "$CONTAINERD_COMMIT" \ && make static \ diff --git a/Dockerfile.s390x b/Dockerfile.s390x index fdec13b24d..5c1a3ea511 100644 --- a/Dockerfile.s390x +++ b/Dockerfile.s390x @@ -181,7 +181,7 @@ RUN set -x \ ENV RUNC_COMMIT d563bd134293c1026976a8f5764d5df5612f1dbf RUN set -x \ && export GOPATH="$(mktemp -d)" \ - && git clone git://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \ + && git clone https://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \ && cd "$GOPATH/src/github.com/opencontainers/runc" \ && git checkout -q "$RUNC_COMMIT" \ && make static BUILDTAGS="seccomp apparmor selinux" \ @@ -191,7 +191,7 @@ RUN set -x \ ENV CONTAINERD_COMMIT c761085e92be09df9d5298f852c328b538f5dc2f RUN set -x \ && export GOPATH="$(mktemp -d)" \ - && git clone git://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \ + && git clone https://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \ && cd "$GOPATH/src/github.com/docker/containerd" \ && git checkout -q "$CONTAINERD_COMMIT" \ && make static \ diff --git a/Dockerfile.simple b/Dockerfile.simple index 4ed165ed64..6b7790805a 100644 --- a/Dockerfile.simple +++ b/Dockerfile.simple @@ -60,7 +60,7 @@ ENV CGO_LDFLAGS -L/lib ENV RUNC_COMMIT d563bd134293c1026976a8f5764d5df5612f1dbf RUN set -x \ && export GOPATH="$(mktemp -d)" \ - && git clone git://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \ + && git clone https://github.com/opencontainers/runc.git "$GOPATH/src/github.com/opencontainers/runc" \ && cd "$GOPATH/src/github.com/opencontainers/runc" \ && git checkout -q "$RUNC_COMMIT" \ && make static BUILDTAGS="seccomp apparmor selinux" \ @@ -70,7 +70,7 @@ RUN set -x \ ENV CONTAINERD_COMMIT c761085e92be09df9d5298f852c328b538f5dc2f RUN set -x \ && export GOPATH="$(mktemp -d)" \ - && git clone git://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \ + && git clone https://github.com/docker/containerd.git "$GOPATH/src/github.com/docker/containerd" \ && cd "$GOPATH/src/github.com/docker/containerd" \ && git checkout -q "$CONTAINERD_COMMIT" \ && make static \ diff --git a/hack/make/build-deb b/hack/make/build-deb index fb8f2be539..2e7d2de402 100644 --- a/hack/make/build-deb +++ b/hack/make/build-deb @@ -69,13 +69,13 @@ set -e # add runc and containerd compile and install cat >> "$DEST/$version/Dockerfile.build" <<-EOF # Install runc - RUN git clone git://github.com/opencontainers/runc.git "/go/src/github.com/opencontainers/runc" \ + RUN git clone https://github.com/opencontainers/runc.git "/go/src/github.com/opencontainers/runc" \ && cd "/go/src/github.com/opencontainers/runc" \ && git checkout -q "\$RUNC_COMMIT" RUN set -x && export GOPATH="/go" && cd "/go/src/github.com/opencontainers/runc" \ && make BUILDTAGS="\$RUNC_BUILDTAGS" && make install # Install containerd - RUN git clone git://github.com/docker/containerd.git "/go/src/github.com/docker/containerd" \ + RUN git clone https://github.com/docker/containerd.git "/go/src/github.com/docker/containerd" \ && cd "/go/src/github.com/docker/containerd" \ && git checkout -q "\$CONTAINERD_COMMIT" RUN set -x && export GOPATH="/go" && cd "/go/src/github.com/docker/containerd" && make && make install diff --git a/hack/make/build-rpm b/hack/make/build-rpm index f0e496bbb8..79fe5eee7d 100644 --- a/hack/make/build-rpm +++ b/hack/make/build-rpm @@ -97,13 +97,13 @@ set -e # add runc and containerd compile and install cat >> "$DEST/$version/Dockerfile.build" <<-EOF # Install runc - RUN git clone git://github.com/opencontainers/runc.git "/go/src/github.com/opencontainers/runc" \ + RUN git clone https://github.com/opencontainers/runc.git "/go/src/github.com/opencontainers/runc" \ && cd "/go/src/github.com/opencontainers/runc" \ && git checkout -q "\$RUNC_COMMIT" RUN set -x && export GOPATH="/go" && cd "/go/src/github.com/opencontainers/runc" \ && make BUILDTAGS="\$RUNC_BUILDTAGS" && make install # Install containerd - RUN git clone git://github.com/docker/containerd.git "/go/src/github.com/docker/containerd" \ + RUN git clone https://github.com/docker/containerd.git "/go/src/github.com/docker/containerd" \ && cd "/go/src/github.com/docker/containerd" \ && git checkout -q "\$CONTAINERD_COMMIT" RUN set -x && export GOPATH="/go" && cd "/go/src/github.com/docker/containerd" && make && make install