Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PHP 8.4 Build #9

Merged
merged 2 commits into from
Oct 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
strategy:
matrix:
include:
- php-version: "8.4"
architeture: "arm64,amd64"
- php-version: "8.3"
architeture: "arm64,amd64"
- php-version: "8.2"
Expand Down
27 changes: 27 additions & 0 deletions .run/Build PHP 8.4 base.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Build PHP 8.4 base" type="docker-deploy" factoryName="docker-image" server-name="Docker">
<deployment type="docker-image">
<settings>
<option name="imageTag" value="byjg/k8s-ci" />
<option name="command" value="python3 build.py 8.4 --arch amd64 --build-base --debug" />
<option name="containerName" value="build-84" />
<option name="commandLineOptions" value="-it --privileged -w /work" />
<option name="volumeBindings">
<list>
<DockerVolumeBindingImpl>
<option name="containerPath" value="/work" />
<option name="hostPath" value="$PROJECT_DIR$" />
</DockerVolumeBindingImpl>
<DockerVolumeBindingImpl>
<option name="containerPath" value="/var/lib/containers" />
<option name="hostPath" value="/tmp/z" />
</DockerVolumeBindingImpl>
</list>
</option>
</settings>
</deployment>
<method v="2">
<option name="RunConfigurationTask" enabled="false" run_configuration_name="Clean up Containers" run_configuration_type="ShConfigurationType" />
</method>
</configuration>
</component>
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@ The PHP images are ready to use in:

| Version | Latest Version | Monthly Builds | Alpine Version |
|:-------:|:--------------:|:--------------:|:--------------:|
| **8.3** | **8.3.8** | **yes** | **edge** |
| **8.2** | **8.2.20** | **yes** | **3.20** |
| **8.1** | **8.1.29** | **yes** | **3.19** |
| **8.4** | **8.4.0 rc2** | **yes** | **edge** |
| **8.3** | **8.3.13** | **yes** | **edge** |
| **8.2** | **8.2.24** | **yes** | **3.20** |
| 8.1 | 8.1.29 | - | 3.19 |
| 8.0 | 8.0.30 | - | 3.16 |
| 7.4 | 7.4.33 | - | 3.15 |
| 7.3 | 7.3.33 | - | 3.12 |
Expand Down
91 changes: 91 additions & 0 deletions config/php-8.4.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
image:
default: alpine:edge

repositories:
- https://dl-cdn.alpinelinux.org/alpine/edge/testing

version:
major: 8
minor: 4
suffix: 84

extensions:
- bcmath
- common
- ctype
- curl
- dba
- dom
- exif
- ftp
- gd
- gettext
- iconv
- intl
- fileinfo
- json
- mbstring
- mysqli
- mysqlnd
- openssl
- pcntl
- pdo
- pdo_dblib
- pdo_mysql
- pdo_pgsql
- pdo_sqlite
- pear
# - pecl-mcrypt
- pecl-memcached
- pecl-mongodb
- pecl-xdebug
- pecl-yaml
- phar
- posix
- redis
- session
- shmop
- simplexml
- soap
- sockets
- sqlite3
- tokenizer
- xml
- xmlreader
- xmlwriter
- xsl
- zip
- zlib

pecl:
- name: xdebug
install: False
zend: True
config:
- xdebug.remote_port=9001

composer:
packages:
- phpunit/phpunit:*
- squizlabs/php_codesniffer:*
- phpmd/phpmd:@stable
links:
- phpunit
- phpcs
- phpbcbf
- phpmd

peclBuildPackages:
- autoconf
- build-base
- cyrus-sasl-dev
- gcc
- libtool
- make
- openssl-dev
- zlib-dev

additionalPackages:
- libssl1.1
- libcrypto1.1
- python3