Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupalci_environments
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupalci_environments
Commits
095885c3
Commit
095885c3
authored
10 months ago
by
Andrey Postnikov
Browse files
Options
Downloads
Patches
Plain Diff
PHP: 8.4.0beta5 and APCu master with mongodb 1.18.4
parent
8b6ed6db
No related branches found
No related tags found
No related merge requests found
Pipeline
#279480
passed
10 months ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
php/8.4-ubuntu-apache/Dockerfile
+16
-8
16 additions, 8 deletions
php/8.4-ubuntu-apache/Dockerfile
with
16 additions
and
8 deletions
php/8.4-ubuntu-apache/Dockerfile
+
16
−
8
View file @
095885c3
...
@@ -5,7 +5,7 @@ ARG THE_BASE_IMAGE=ubuntu:noble
...
@@ -5,7 +5,7 @@ ARG THE_BASE_IMAGE=ubuntu:noble
ARG
PHPIZE_DEPS="autoconf file g++ gcc make pkg-config re2c"
ARG
PHPIZE_DEPS="autoconf file g++ gcc make pkg-config re2c"
ARG
PHP_CFLAGS="-O2 -g"
ARG
PHP_CFLAGS="-O2 -g"
FROM
${THE_BASE_IMAGE}
as
builder
FROM
${THE_BASE_IMAGE}
AS
builder
ENV
DRUPALCI=TRUE TERM=xterm DEBIAN_FRONTEND=noninteractive
ENV
DRUPALCI=TRUE TERM=xterm DEBIAN_FRONTEND=noninteractive
#########
#########
...
@@ -13,9 +13,9 @@ ENV DRUPALCI=TRUE TERM=xterm DEBIAN_FRONTEND=noninteractive
...
@@ -13,9 +13,9 @@ ENV DRUPALCI=TRUE TERM=xterm DEBIAN_FRONTEND=noninteractive
######
######
# PHP Version
# PHP Version
ENV
PHP_VERSION 8.4.0beta
4
ENV
PHP_VERSION 8.4.0beta
5
ENV
PHP_URL="https://downloads.php.net/~
saki
/php-${PHP_VERSION}.tar.xz"
ENV
PHP_URL="https://downloads.php.net/~
calvinb
/php-${PHP_VERSION}.tar.xz"
ENV
PHP_SHA256_HASH="
bafb6f5c10a0b34ed5f2ff28eb12bc4154ffef4c04534c03e993e1c951fb9d22
php.tar.xz"
ENV
PHP_SHA256_HASH="
86c9e6fe9b4ab2046832ab65f955c50d663a6fccb3f6d6fbddc4aa9b96a561b7
php.tar.xz"
ARG
PHPIZE_DEPS
ARG
PHPIZE_DEPS
ARG
PHP_CFLAGS
ARG
PHP_CFLAGS
...
@@ -116,13 +116,21 @@ RUN set -xe &&\
...
@@ -116,13 +116,21 @@ RUN set -xe &&\
# install pecl extensions for apcu, pcov, xdebug, and yaml
# install pecl extensions for apcu, pcov, xdebug, and yaml
RUN
pecl channel-update pecl.php.net
&&
\
RUN
pecl channel-update pecl.php.net
&&
\
pecl
install
APCu-5.1.23
yaml-2.2.3
\
pecl
install
mongodb-1.18.4
yaml-2.2.3
\
&&
\
&&
\
# last apcu
_commit=0f840e973f9473797e23a6f3d700fa635aec3c63 &&\
mkdir /tmp/ext &&\
curl -L https://github.com/krakjoe/apcu/archive/$_commit.tar.gz| tar --strip-components=1 -xz -C /tmp/ext &&\
cd /tmp/ext &&\
phpize && ./configure && make install &&\
cd .. && rm -fr ext &&\
# patch pcov https://github.com/krakjoe/pcov/pull/111
# patch pcov https://github.com/krakjoe/pcov/pull/111
cd /tmp && pecl download pcov-1.0.11 && tar xzf pcov-1.0.11.tgz &&\
_ver=1.0.11 &&\
cd pcov-1.0.11 && curl -sL https://github.com/krakjoe/pcov/pull/111.diff | patch -p1 &&\
cd /tmp && pecl download pcov-$_ver && tar xzf pcov-$_ver.tgz &&\
cd pcov-$_ver && curl -sL https://github.com/krakjoe/pcov/pull/111.diff | patch -p1 &&\
phpize && ./configure && make install &&\
phpize && ./configure && make install &&\
cd .. && rm -fr pcov-
*
\
cd .. && rm -fr pcov-
$_ver
\
&&\
&&\
# stript .debug files out of executables
# stript .debug files out of executables
echo '\
echo '\
...
...
This diff is collapsed.
Click to expand it.
Andrey Postnikov
@andypost
mentioned in commit
71874a83
·
10 months ago
mentioned in commit
71874a83
mentioned in commit 71874a83369bbce93b020c4e8355b64279c37cb8
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment