Skip to content

Commit e3b5224

Browse files
committed
Downgrade prebuilt runner helper images to Alpine 3.19
In Alpine 3.21, Git appears to have some regression supplying when supplying a bundle that doesn't exactly match the server certificates. Previously Git would fall back to using the system store, but this no longer appears to work. For example, suppose you use the cert bundle from google.com and attempt a clone from gitlab.com: ``` openssl s_client -showcerts -connect google.com:443 </dev/null | openssl x509 -outform PEM > google.pem git config --global http.sslCAInfo google.pem git clone https://gitlab.com/group/project ``` In Alpine 3.21, this fails with `SSL certificate problem: self-signed certificate in certificate chain`. In Alpine 3.18 - 3.20, this works fine. Revert to Alpine 3.19 until this issue is resolved: https://gitlab.alpinelinux.org/alpine/aports/-/issues/16980 Relates to https://gitlab.com/gitlab-org/gitlab-runner/-/issues/38644 Changelog: fixed
1 parent afcfa29 commit e3b5224

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.runner_helper.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ out/helper-images:
7979
cd dockerfiles/runner-helper && docker buildx bake --progress plain $(TARGETS)
8080

8181
.PHONY: prebuilt-helper-images
82-
prebuilt-helper-images: ALPINE_DEFAULT_VERSION=3.21
82+
prebuilt-helper-images: ALPINE_DEFAULT_VERSION=3.19
8383
prebuilt-helper-images:
8484
@find out/helper-images -maxdepth 1 -name "*.tar" | parallel -j$(shell nproc) './ci/prebuilt_helper_image {}'
8585

0 commit comments

Comments
 (0)