Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
Images
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Docker
Images
Commits
ac8d2f2b
Commit
ac8d2f2b
authored
1 month ago
by
Erick Hitter
Browse files
Options
Downloads
Plain Diff
Merge branch 'add/php-8.4' into 'master'
Add PHP 8.4 image See merge request
!29
parents
72820a35
a176f957
No related branches found
No related tags found
1 merge request
!29
Add PHP 8.4 image
Pipeline
#8129
passed
5 hours ago
Stage: test
Stage: deploy
Changes
2
Pipelines
6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+18
-0
18 additions, 0 deletions
.gitlab-ci.yml
php/8.4/Dockerfile
+46
-0
46 additions, 0 deletions
php/8.4/Dockerfile
with
64 additions
and
0 deletions
.gitlab-ci.yml
+
18
−
0
View file @
ac8d2f2b
...
@@ -143,6 +143,24 @@ build-debian-wp-org-deploy-build-dev:
...
@@ -143,6 +143,24 @@ build-debian-wp-org-deploy-build-dev:
except
:
except
:
-
master
-
master
# PHP 8.4
build-php-8.4-master
:
stage
:
deploy
script
:
-
docker build --pull -t "$CI_REGISTRY_IMAGE/php:8.4" ./php/8.4
-
docker push "$CI_REGISTRY_IMAGE/php:8.4"
only
:
-
master
when
:
manual
build-php-8.4-dev
:
stage
:
deploy
script
:
-
docker build --pull -t "$CI_REGISTRY_IMAGE/php:8.4-dev" ./php/8.4
-
docker push "$CI_REGISTRY_IMAGE/php:8.4-dev"
except
:
-
master
# PHP 8.3
# PHP 8.3
build-php-8.3-master
:
build-php-8.3-master
:
stage
:
deploy
stage
:
deploy
...
...
This diff is collapsed.
Click to expand it.
php/8.4/Dockerfile
0 → 100644
+
46
−
0
View file @
ac8d2f2b
FROM
php:8.4-bullseye
LABEL
maintainer="ethitter"
LABEL
version="1.0"
RUN
apt-get update
\
&&
apt-get
-yqqf
install
\
lsb-release
\
zip
\
unzip
\
rsync
\
subversion
\
git
\
libicu-dev
\
libpng-dev
\
libbz2-dev
\
default-libmysqlclient-dev
\
libzip-dev
\
libonig-dev
\
--fix-missing
\
--no-install-recommends
\
&&
apt-get clean
\
&&
rm
-rf
/var/lib/apt/lists/
*
RUN
docker-php-ext-install
\
mbstring
\
mysqli
\
intl
\
gd
\
zip
\
bz2
\
&&
pecl
install
xdebug
\
&&
php
-m
ENV
NVM_DIR /usr/local/nvm
SHELL
["/bin/bash", "-o", "pipefail", "-c"]
RUN
curl
-sS
https://getcomposer.org/installer | php
--
--install-dir
=
/usr/local/bin
--filename
=
composer
\
&&
chmod
+x /usr/local/bin/composer
\
&&
composer
--version
\
&&
mkdir
$NVM_DIR
\
&&
curl
-o-
https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh | bash
\
&&
.
$NVM_DIR
/nvm.sh
\
&&
nvm
--version
ENV
PATH=/root/.composer/vendor/bin:$HOME/.composer/vendor/bin:$PATH
This diff is collapsed.
Click to expand it.
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