From fadb7c2a91123639a673d0bab2403499040207bf Mon Sep 17 00:00:00 2001 From: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> Date: Mon, 22 Jul 2024 17:31:39 +0200 Subject: [PATCH 1/2] lint: Add missing docker.io prefix to ci/lint_imagefile --- ci/lint_imagefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/lint_imagefile b/ci/lint_imagefile index 9adc256a625..0e7ede52043 100644 --- a/ci/lint_imagefile +++ b/ci/lint_imagefile @@ -4,7 +4,7 @@ # See test/lint/README.md for usage. -FROM debian:bookworm +FROM docker.io/debian:bookworm ENV DEBIAN_FRONTEND=noninteractive ENV LC_ALL=C.UTF-8 From fa7bee13bf745d8d244fa8d3579a21016a0cb66d Mon Sep 17 00:00:00 2001 From: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> Date: Mon, 22 Jul 2024 17:40:58 +0200 Subject: [PATCH 2/2] lint: Use git clone --depth=1 No need to download and store more than that. --- ci/lint/04_install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/lint/04_install.sh b/ci/lint/04_install.sh index 7a014820254..ff9206fb6f7 100755 --- a/ci/lint/04_install.sh +++ b/ci/lint/04_install.sh @@ -21,7 +21,7 @@ ${CI_RETRY_EXE} apt-get install -y automake pkg-config libtool curl xz-utils git PYTHON_PATH="/python_build" if [ ! -d "${PYTHON_PATH}/bin" ]; then ( - ${CI_RETRY_EXE} git clone https://github.com/pyenv/pyenv.git + ${CI_RETRY_EXE} git clone --depth=1 https://github.com/pyenv/pyenv.git cd pyenv/plugins/python-build || exit 1 ./install.sh )