From d69dbbfbe74d10d6e19a0eb01f1fb68cd72067fe Mon Sep 17 00:00:00 2001 From: tomazurro Date: Fri, 18 Aug 2023 10:15:20 +0200 Subject: [PATCH] Update Docker Build Environment to debian:buster (debian:stretch is archived, docker build fails because of dead apt repositories) Add --progress output to git clone in gl_image (cloning might take several minutes without any feedback otherwise) --- Dockerfile | 2 +- gl_image | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0c0280b..fd905bf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM debian:stretch-slim +FROM debian:buster-slim RUN apt update && apt install -y \ device-tree-compiler \ diff --git a/gl_image b/gl_image index 4ce3777..c565f19 100755 --- a/gl_image +++ b/gl_image @@ -167,7 +167,7 @@ class Config: url = gl_inet_imagebuilder_url + self.data["profiles"][name]["imagebuilder"].split('/', 1)[1] + ".git" if url: - check_call("git clone %s %s" % (url, save_dir), shell=True) + check_call("git clone --progress %s %s" % (url, save_dir), shell=True) def getPackages(self, name): packages = "" @@ -329,7 +329,7 @@ def main(argv): if not os.path.isdir(dir_name): # check_call("git clone --single-branch -b %s --depth=1 %s %s" % (branch, url, dir_name), shell=True) - check_call("git clone %s %s" % (gl_inet_ipks_url, dir_name), shell=True) + check_call("git clone --progress %s %s" % (gl_inet_ipks_url, dir_name), shell=True) c = Config(filename)