From 1e6c022a8912cc3fae022eb09d43f7c397595e00 Mon Sep 17 00:00:00 2001 From: Matt Layher Date: Mon, 16 Aug 2021 13:46:05 -0400 Subject: [PATCH] unix/linux: use HTTPS to git clone glibc in Dockerfile This resolves a TODO to replace the insecure git protocol clone. There are no changes to the generated code. Change-Id: I66c83bcec572bf35a1206f8c82606cc122abb703 Reviewed-on: https://go-review.googlesource.com/c/sys/+/342553 Trust: Matt Layher Run-TryBot: Matt Layher Reviewed-by: Tobias Klauser TryBot-Result: Go Bot --- unix/linux/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unix/linux/Dockerfile b/unix/linux/Dockerfile index 8f5bc272..da6b0a6f 100644 --- a/unix/linux/Dockerfile +++ b/unix/linux/Dockerfile @@ -17,8 +17,8 @@ WORKDIR /git RUN git config --global advice.detachedHead false # Linux Kernel: Released 27 Jun 2021 RUN git clone --branch v5.13 --depth 1 https://kernel.googlesource.com/pub/scm/linux/kernel/git/torvalds/linux -# GNU C library: Released 02 Aug 2021 (we should try to get a secure way to clone this) -RUN git clone --branch release/2.34/master --depth 1 git://sourceware.org/git/glibc.git +# GNU C library: Released 02 Aug 2021 +RUN git clone --branch release/2.34/master --depth 1 https://sourceware.org/git/glibc.git # Get Go ENV GOLANG_VERSION 1.17rc2