Add Dockerfile to build Git

We want to easily build customized versions of Git
in CI jobs.
This commit is contained in:
Christian Couder 2020-02-06 16:35:34 +01:00
parent 0071cbcdb8
commit c01b31b38c
2 changed files with 11 additions and 0 deletions

View file

@ -105,6 +105,7 @@ release-tools test: *test_build
sitespeed-gitlab test: *test_build
ubi-release test: *test_build
www-gitlab-com-2.6 test: *test_build
build-git: *test_build
# Used by gitlab-docs: https://gitlab.com/gitlab-org/gitlab-docs/blob/master/.gitlab-ci.yml
gitlab-docs test: *test_build
gitlab-docs-lint test: *test_build
@ -166,6 +167,7 @@ release-tools: *build_and_deploy
sitespeed-gitlab: *build_and_deploy
ubi-release: *build_and_deploy
www-gitlab-com-2.6: *build_and_deploy
build-git: *build_and_deploy
# Used by gitlab-docs: https://gitlab.com/gitlab-org/gitlab-docs/blob/master/.gitlab-ci.yml
gitlab-docs: *build_and_deploy
gitlab-docs-lint: *build_and_deploy

9
Dockerfile.build-git Normal file
View file

@ -0,0 +1,9 @@
FROM gcc:latest
ADD / /
# Install prereqs for building Git
RUN apt-get update && apt-get install -y gettext
RUN /scripts/install-pcre2 && pcre2-config --version