Skip to content

Bug 1961201 - Update Phabricator docker image to latest PHP 7.4.33 and install latest git from source#55

Open
dklawren wants to merge 1 commit into
masterfrom
1961201
Open

Bug 1961201 - Update Phabricator docker image to latest PHP 7.4.33 and install latest git from source#55
dklawren wants to merge 1 commit into
masterfrom
1961201

Conversation

@dklawren

Copy link
Copy Markdown
  • Updated to PHP 7.4.33 which is the last in the 7.x series.
  • Build and install a recent 2.49 version of Git
  • Removed building of iconv, curl, and mbstring as they are included in the PHP base image anyway.

@dklawren dklawren requested review from cgsheeh and zzzeid April 17, 2025 16:11

@zzzeid zzzeid left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, but maybe we should test it a little more before merging to confirm nothing here interferes with the existing git functionality. I'll be doing that on a separate branch for the next couple of days.

@dklawren

Copy link
Copy Markdown
Author

Agreed. We can sit on this for a little while since you have a workaround. Also we can push this change to Phabricator-dev and test it there as well.

Comment thread Dockerfile
expat \
freetype \
g++ \
git \

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we remove this git install if we're installing it from source below?

Is there are way we could get the latest version from a package manger?

Comment thread Dockerfile
&& docker-php-ext-enable apcu \
&& pecl install zip-1.15.5 \
&& docker-php-ext-enable zip \
&& wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-${GIT_VERSION}.tar.gz \

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we put these install steps in a script so the Git install is a single line?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants