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

UPDATE FROM PARENT #3

Open
wants to merge 366 commits into
base: main-old-depercated
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
366 commits
Select commit Hold shift + click to select a range
310fb31
feat: add 7.4.Dockerfile
adhocore May 9, 2021
d29cee9
feat: add 7.4-alp3.13.Dockerfile
adhocore May 9, 2021
18d6bf4
feat: add rdkafka php extension
adhocore May 9, 2021
7c97a08
feat: add grpc php extension
adhocore May 9, 2021
d692f8e
chore: add zlib for grpc
adhocore May 9, 2021
ec38839
chore: add headers for grpc
adhocore May 9, 2021
2b62ef7
docs: add extensions list for php 7.4 and 8.0
adhocore May 9, 2021
2ff5d74
feat: add composer1 for 7.4
adhocore May 10, 2021
7eb8c14
feat: bump swoole ext
adhocore May 10, 2021
a3ca94c
Added Freetype and JPEG support to GD PHP8
rraab-dev May 29, 2021
1c786c3
Added Freetype and JPEG Support to PHP8-alp3.13
rraab-dev May 29, 2021
4be3e87
Added Freetype and JPEG Support to PHP7.4
rraab-dev May 29, 2021
bdcfb2f
Added Freetype and JPEG Support to PHP7.4-alp3.13
rraab-dev May 29, 2021
1694c8d
Merge pull request #35 from rraab-dev/main
adhocore May 30, 2021
6f63b81
fix(*): bump swoole version, disable async
adhocore May 30, 2021
6d473ff
Merge pull request #36 from adhocore/develop
adhocore May 30, 2021
4d40e15
fix[7.4]: disable swoole async
adhocore May 30, 2021
c7286f7
feat: bump to php7.4.20
adhocore Jun 5, 2021
19fb44d
feat: bump to php7.4.20
adhocore Jun 5, 2021
56bf058
feat: bump to php8.0.7
adhocore Jun 5, 2021
a5bf669
feat: bump to php8.0.7
adhocore Jun 5, 2021
439d7b6
docs: bump version, update usage
adhocore Jun 5, 2021
8ad86b2
feat: bump php7 to 7.4.21
adhocore Jul 9, 2021
ac006d6
feat: bump php8 to 8.0.7
adhocore Jul 9, 2021
39a2648
feat: add experimental php8.1
adhocore Jul 9, 2021
a1673ce
feat: bump php8.1 to alpha3
adhocore Jul 9, 2021
1caad9d
fix: new versions require alpine 3.13
adhocore Jul 9, 2021
b1e0edb
docs: badge label [skip ci]
adhocore Jul 30, 2021
fb5edb9
build(deps): bump php from 7.4.21-fpm-alpine3.13 to 8.0.9-fpm-alpine3.13
dependabot[bot] Jul 30, 2021
e709e2a
feat: bump php 7.4 to 7.4.22
adhocore Jul 30, 2021
8d1b714
feat: bump php 7.4 to 7.4.22
adhocore Jul 30, 2021
4a3fd23
Merge pull request #41 from adhocore/dependabot/docker/php-8.0.9-fpm-…
adhocore Jul 30, 2021
471dc1c
chore: cleanup 3.13 as it is default and 3.12 not supported
adhocore Oct 17, 2021
44515f2
feat: bump php8.0 to 8.0.11 and php7.4 to 7.4.24
adhocore Oct 17, 2021
a482ce8
feat: bump php8.1 to 8.1.rc-4
adhocore Oct 17, 2021
6641fd4
chore(workflow): add build push action
adhocore Oct 17, 2021
602c6a0
Merge pull request #45 from adhocore/bump-php
adhocore Oct 17, 2021
2c0607b
feat: bump PHP7.4
adhocore Nov 4, 2021
ed7cf51
feat: bump PHP8.0
adhocore Nov 4, 2021
97369ee
feat: bump PHP8.1rc
adhocore Nov 4, 2021
fa21b48
Merge pull request #47 from adhocore/bump
adhocore Nov 4, 2021
d7e8f1e
feat: bump 8.1 rc to 8.1
adhocore Dec 8, 2021
8dddad3
feat: bump 8.0 to 8.0.13
adhocore Dec 8, 2021
56ea258
feat: bump 7.4 to 7.4.26
adhocore Dec 8, 2021
5ac8d91
Merge pull request #49 from adhocore/bump
adhocore Dec 8, 2021
d4dc5d6
chore: update workflow
adhocore Dec 9, 2021
33d998f
feat: bump 7.4
adhocore Mar 18, 2022
a9d7ebc
feat: bump 8.0
adhocore Mar 18, 2022
a7afac2
feat: bump 8.1
adhocore Mar 18, 2022
297f9d1
Merge pull request #50 from adhocore/bump2
adhocore Mar 18, 2022
b032d9a
docs: bump version [skip ci][ci skip]
adhocore Mar 23, 2022
5aacdab
feat: bump 7.4
adhocore Apr 20, 2022
413ac0c
feat: bump 8.0
adhocore Apr 20, 2022
aa69d2a
feat: bump 8.1
adhocore Apr 22, 2022
dbeabd7
Merge pull request #53 from adhocore/bump
adhocore Apr 22, 2022
4f559d8
chore: pull before build [skip ci][ci skip]
adhocore Apr 22, 2022
e7bac3b
fix: 8.1 image name
adhocore Apr 22, 2022
4443860
docs: build badge [skip ci][ci skip]
adhocore May 1, 2022
f469854
feat(8.*): bump php 8.0 and 8.1
adhocore May 25, 2022
d5cefdd
feat: bump php 7.4
adhocore Jun 12, 2022
7ff4890
feat: bump php 8.0
adhocore Jun 12, 2022
a74ddbd
feat: bump php 8.1
adhocore Jun 12, 2022
150e0aa
Merge pull request #55 from adhocore/bump
adhocore Jun 12, 2022
7b4ae92
Fix image alpine base (#56)
adhocore Jun 12, 2022
89c6536
docs: bump version, update ext list [skip ci]
adhocore Jun 12, 2022
08b6a9f
feat: bump php8.0
adhocore Jul 8, 2022
b059bc7
feat: bump php8.1
adhocore Jul 8, 2022
1b0b88e
Merge pull request #58 from adhocore/bump
adhocore Jul 8, 2022
3bcecd1
feat: bump php 8.1 to 8.1.9
adhocore Aug 5, 2022
ccfd93a
feat: bump php 8.0 to 8.0.22
adhocore Aug 5, 2022
214065e
Merge pull request #61 from adhocore/bump
adhocore Aug 5, 2022
8a5db41
docs: bump version [skip ci][ci skip]
adhocore Aug 6, 2022
8c8db22
build(deps): bump php
dependabot[bot] Sep 2, 2022
54eebb7
revert: php 7.4
adhocore Sep 2, 2022
5307f8c
feat: bump php8.0 to 8.0.23
adhocore Sep 2, 2022
7d2f425
Merge pull request #63 from adhocore/dependabot/docker/php-8.1.10-fpm…
adhocore Sep 2, 2022
0212452
docs: bump version [skip ci][ci skip]
adhocore Sep 3, 2022
35b80d6
chore: ~ [skip ci][ci skip]
adhocore Sep 26, 2022
18998db
feat: bump to v7.4.32
adhocore Sep 30, 2022
1a1e10a
feat: bump to v8.1.11
adhocore Sep 30, 2022
346691c
Merge pull request #66 from adhocore/bump
adhocore Sep 30, 2022
8383621
docs: bump version [skip ci][ci skip]
adhocore Sep 30, 2022
853b83c
feat: bump pho8.0 to v8.0.24
adhocore Oct 1, 2022
a1a01db
feat: add simdjson a faster json decoder as a pecl ext
adhocore Oct 16, 2022
4c6d751
ext.php
adhocore Oct 16, 2022
303df1f
Merge pull request #69 from adhocore/67-simdjson-as-pecl
adhocore Oct 16, 2022
1e01710
feat: add more pecl extensions
adhocore Oct 16, 2022
970e845
Merge pull request #70 from adhocore/68-more-pecl-extensions
adhocore Oct 16, 2022
305b40d
build(workflow): build latest 8.1+ first
adhocore Oct 16, 2022
8f6f892
feat: add 8.2 dockerfile
adhocore Oct 16, 2022
95e72f3
build(workflow): build 8.2 also
adhocore Oct 16, 2022
64c0274
Merge pull request #72 from adhocore/71-php8.2rc
adhocore Oct 16, 2022
16a45df
docs: on composer [skip ci][ci skip]
adhocore Oct 16, 2022
96020ea
refactor: rename bin files (remove .sh ext)
adhocore Oct 18, 2022
e4fc4e3
refactor: install ext only if required
adhocore Oct 18, 2022
a6a7d6f
feat: install ext if only required
adhocore Oct 18, 2022
9839d71
feat: speed up 8.1 build
adhocore Oct 18, 2022
0eada74
feat: speed up 8.0 build
adhocore Oct 18, 2022
f5b9cf2
feat: speed up 7.4 build
adhocore Oct 18, 2022
0eab59a
feat: prepare 8.2 for faster builds
adhocore Oct 18, 2022
d6a3f89
docs: update extensions info
adhocore Oct 18, 2022
4076275
Merge pull request #74 from adhocore/73-speedup-build
adhocore Oct 18, 2022
d82d274
fix: extension may have version
adhocore Oct 18, 2022
fc0cf3a
fix: 8.2 does not support swoole yet?
adhocore Oct 18, 2022
1a571a6
fix: maybe that works for 8.2?
adhocore Oct 18, 2022
657c057
feat: add phalcon from pecl
adhocore Oct 20, 2022
b7f7437
fix: remove redundant check, redirect output
adhocore Oct 20, 2022
a1bcfdc
docs: update extensions list
adhocore Oct 20, 2022
da7e293
docs: 8.2rc [skip ci][ci skip]
adhocore Oct 20, 2022
b139b80
feat: adjust php8.2 extensions
adhocore Oct 21, 2022
2d77021
fix: bad scoping prevented ext install
adhocore Oct 21, 2022
326dad3
refactor: 'yes' no longer required
adhocore Oct 21, 2022
c0dbc4a
chore(build): donot tag 3.13 anymore [skip ci][ci skip]
adhocore Oct 21, 2022
857968c
chore(workflow): unfurl pull step [skip ci][ci skip]
adhocore Oct 21, 2022
43469dc
docs: fix composer info [skip ci][ci skip]
adhocore Oct 21, 2022
4cc2eed
docs: update ext lists [skip ci][ci skip]
adhocore Oct 23, 2022
3086747
build(deps): bump php
dependabot[bot] Oct 28, 2022
7649dff
Restore 7.4.Dockerfile
adhocore Oct 30, 2022
6274c96
Restore 8.0.Dockerfile
adhocore Oct 30, 2022
3db7816
Merge pull request #75 from adhocore/dependabot/docker/php-8.1.12-fpm…
adhocore Oct 30, 2022
14a78ab
feat: bump 8.0 to 8.0.25
adhocore Nov 1, 2022
5dcd8ec
Merge pull request #77 from adhocore/bump
adhocore Nov 1, 2022
8c0bbd0
feat: update 7.4 to 7.4.33
adhocore Nov 5, 2022
b054c2b
feat: bump 8.2 to 8.2rc6
adhocore Nov 13, 2022
78224dd
feat: bump 8.1 to 8.1.13
adhocore Nov 29, 2022
2ab7048
feat: bump 8.0 to 8.0.26
adhocore Nov 29, 2022
f15fbac
Merge pull request #78 from adhocore/bump
adhocore Nov 29, 2022
d17f152
docs: bump [skip ci][ci skip]
adhocore Dec 3, 2022
822ca4b
feat: bump 8.2rc to 8.2.0
adhocore Dec 22, 2022
d085a2b
docs: versions [skip ci][ci skip]
adhocore Dec 28, 2022
1944544
docs: on ext disable [skip ci][ci skip]
adhocore Dec 28, 2022
ef15339
feat: bump 8.2 to 8.2.1
adhocore Jan 17, 2023
b3ea106
feat: bump 8.1 to 8.1.14
adhocore Jan 17, 2023
9c600ef
feat: bump 8.0 to 8.0.27
adhocore Jan 17, 2023
0c4ecf0
fix: alpine version
adhocore Jan 19, 2023
570b26d
fix: alpine version
adhocore Jan 19, 2023
e94cc26
feat: bump 8.2 to 8.2.2
adhocore Feb 4, 2023
c969332
feat: bump 8.1 to 8.1.15
adhocore Feb 4, 2023
8988c45
feat: bump php8.0
adhocore Feb 20, 2023
8281d42
feat: bump php8.1
adhocore Feb 20, 2023
3cfe5b8
feat: bump php8.2
adhocore Feb 20, 2023
16ba827
fix: intl ext breaks with cache [issue #80]
adhocore Mar 17, 2023
a85a379
build(workflow): build 8.2 first [skip ci][ci skip]
adhocore Mar 17, 2023
52f6e7a
perf: restore cache for 8.2
adhocore Mar 17, 2023
c42afe3
perf: restore intl cache
adhocore Mar 17, 2023
fcfd58d
docs: [skip ci]
adhocore Mar 25, 2023
de550bc
feat: bump php 8.2 to 8.2.4
adhocore Apr 1, 2023
574c7c7
feat: bump php 8.1.x to 8.1.17
adhocore Apr 1, 2023
121552e
docs: bump versions
adhocore Apr 1, 2023
f0c893a
build: try arm arch
adhocore Apr 8, 2023
2ee7259
build: disable swoole/phalcon/grpc, optimize build
adhocore Apr 8, 2023
30da67b
docs: on removing swoole/phalcon/grpc [skip ci][ci skip]
adhocore Apr 10, 2023
1e4cec3
build(workflow): rename to build [skip ci][ci skip]
adhocore Apr 10, 2023
cc573c2
refactor: reuse cache, disable phalcon, update docs
adhocore Apr 11, 2023
f07edae
feat: bump 7.4's alpine, reuse cache
adhocore Apr 11, 2023
5295044
build: remove 7.4 from active build
adhocore Apr 14, 2023
f34a811
feat: bump php 8.1
adhocore Apr 14, 2023
3edf1d9
feat: bump php 8.2
adhocore Apr 14, 2023
7f55a05
Merge pull request #83 from adhocore/bump2
adhocore Apr 14, 2023
40f619c
build: tag latest for 8.2
adhocore Apr 15, 2023
c1fc1e3
chore: echo nproc used by ext installer
adhocore Apr 15, 2023
e246107
chore: cleanup unused commands
adhocore Apr 15, 2023
cd81e77
docs: update ext list, add ext install guide/example
adhocore Apr 15, 2023
cee4aa8
build: add manual build for obsolete versions [skip ci][ci skip]
adhocore Apr 15, 2023
2bc67cc
docs: update image size/version [skip ci][ci skip]
adhocore Apr 15, 2023
c4bee45
fix(7.4): cleanup before install [skip ci][ci skip]
adhocore Apr 15, 2023
731710b
docs: update install ext [skip ci][ci skip]
adhocore Apr 15, 2023
d7ee79a
feat: bump 8.1 to 8.1.19
adhocore May 25, 2023
203afc2
feat: bump 8.2 to 8.2.6
adhocore May 25, 2023
42460cf
feat: 8.2 alpine base
adhocore May 25, 2023
d4781e5
feat: 8.1 alpine base
adhocore May 25, 2023
3a87d1f
Updated 8.1 and 8.2 Dockerfiles to fix an issue with the intl.so modu…
MarkoTukiainen Jun 5, 2023
627c71a
Merge pull request #86 from MarkoTukiainen/intl-fix
adhocore Jun 6, 2023
162f967
feat: bump 8.2 to 8.2.7
adhocore Jun 9, 2023
acd9535
feat: bump 8.1 to 8.1.20
adhocore Jun 9, 2023
cf92256
feat: bump 8.0 to 8.0.29
adhocore Jun 9, 2023
fbf2b4c
Merge pull request #87 from adhocore/bump-all
adhocore Jun 9, 2023
10e28f5
docs: update [skip ci]
adhocore Jun 9, 2023
c469d05
build: add manual preview build action [skip ci]
adhocore Jul 2, 2023
54fe97f
feat: add 8.3alpha Dockerfile
adhocore Jul 2, 2023
49cbd6b
chore: remove imagick
adhocore Jul 3, 2023
b716bb2
docs: on 8.3a [skip ci]
adhocore Jul 3, 2023
949fb0c
Merge pull request #89 from adhocore/8.3-alpha
adhocore Jul 5, 2023
1225d9c
docs: php8.3 exts [skip ci]
adhocore Jul 5, 2023
0e590ee
feat: bump 8.2 to 8.2.8
adhocore Jul 8, 2023
146681f
feat: bump 8.1 to 8.1.21
adhocore Jul 8, 2023
aa0bf33
Merge pull request #90 from adhocore/bump
adhocore Jul 10, 2023
c62f743
feat: bump 8.3 alpha [skip ci]
adhocore Jul 11, 2023
7c28c03
feat: bump 8.3 to 8.3.0b1
adhocore Jul 22, 2023
8720eb4
chore: update pipeline to use 8.3b
adhocore Jul 22, 2023
3b4a594
Merge pull request #91 from adhocore/8.3-beta [skip ci]
adhocore Jul 22, 2023
ee6261a
docs: on 8.3b [skip ci]
adhocore Jul 22, 2023
b77f1cb
Update 8.2.Dockerfile 8.2.9
adhocore Aug 21, 2023
f6d9c4a
Update 8.1.Dockerfile 8.1.22
adhocore Aug 21, 2023
c915916
Update 8.0.Dockerfile 8.0.30
adhocore Aug 21, 2023
cfc3088
Update 8.3.Dockerfile beta2
adhocore Aug 21, 2023
d683b49
Merge pull request #92 from adhocore/bump
adhocore Aug 21, 2023
9a5bb73
feat: bump 8.2 to 8.2.10
adhocore Sep 15, 2023
d0caef5
feat: bump 8.1 to 8.1.23
adhocore Sep 15, 2023
efc1279
Merge pull request #93 from adhocore/new
adhocore Sep 15, 2023
b6ab0f6
feat: bump 8.1 to 8.1.24, 8.2 to 8.2.11, 8.3 to 8.3.rc4
adhocore Oct 21, 2023
56a4195
build: update preview build of 8.3rc
adhocore Oct 21, 2023
2735547
docs: update stuffs
adhocore Oct 21, 2023
33efed7
Merge pull request #95 from adhocore/94-bump
adhocore Oct 21, 2023
0b4459b
feat: bump 8.3 to 8.3.0.rc5
adhocore Nov 3, 2023
4b34a81
feat: bump 8.2 to 8.2.12
adhocore Nov 3, 2023
68abe41
feat: bump 8.1 to 8.3.1.25
adhocore Nov 3, 2023
473254c
docs: bump versions
adhocore Nov 3, 2023
3477eff
Merge pull request #96 from adhocore/bump
adhocore Nov 3, 2023
aeb9fe6
feat(8.1): bump 8.1 to 8.1.26
adhocore Nov 25, 2023
c5a168c
feat(8.2): bump 8.2 to 8.2.13
adhocore Nov 26, 2023
e1fceaa
Merge pull request #97 from adhocore/bump
adhocore Nov 29, 2023
1ccd5ef
chore: 8.3
adhocore Mar 22, 2024
27861d8
build: 8.3
adhocore Mar 22, 2024
c8a2435
feat: 8.3.4
adhocore Mar 22, 2024
ac236b4
Merge pull request #98 from adhocore/adhocore-patch-1
adhocore Mar 22, 2024
9d097fd
feat(8.3): use cache, tag latest, build first
adhocore Mar 22, 2024
cbef1b0
docs: versions [skip ci][ci skip]
adhocore Mar 26, 2024
0f798bf
feat(8.1): bump to 8.1.27
adhocore Mar 26, 2024
c0a54cd
feat(8.2): bump to 8.2.17
adhocore Mar 26, 2024
b6843b7
docs: versions
adhocore Mar 26, 2024
fc88eb4
feat: add ext-remove, maybe fix apcu
adhocore Mar 29, 2024
c610c36
build: temp disable 8.3
adhocore Mar 29, 2024
2864e19
fix: 8.2
adhocore Mar 31, 2024
97d6507
fix: 8.1
adhocore Mar 31, 2024
57863b5
chore: restore
adhocore Mar 31, 2024
e373b41
docs: [skip ci][ci skip]
adhocore Apr 4, 2024
d93e63d
docs: maintainer [skip ci][ci skip]
adhocore May 2, 2024
1d262bb
feat: bump 8.1 to 8.1.29
adhocore Sep 9, 2024
9521804
feat: bump 8.3 to 8.3.11
adhocore Sep 9, 2024
a18a3d9
Merge pull request #102 from adhocore/bump
adhocore Sep 9, 2024
ab228fe
feat: bump 8.2 to 8.2.23
adhocore Sep 9, 2024
fef8938
chore: restore cache (8.3)
adhocore Sep 9, 2024
fc3f9b8
chore: restore cache (8.1)
adhocore Sep 10, 2024
cb00cf2
Merge pull request #103 from adhocore/bump
adhocore Sep 10, 2024
2665f98
chore: restore cache (8.2)
adhocore Sep 13, 2024
620eeaa
fix: GD Error loading shared library libjpeg.so.8
nhymxu Dec 5, 2024
06f1e40
Merge pull request #105 from nhymxu/fix-gd-lib
adhocore Dec 6, 2024
da207bc
fix: gmp error loading shared library libgmp.so.10
nhymxu Dec 6, 2024
091e7a0
Adding new Dockerfile
gogl92 Dec 6, 2024
6e6e934
Updating github actions config
gogl92 Dec 6, 2024
806ee50
Updating docs
gogl92 Dec 6, 2024
0532145
Merge pull request #108 from nhymxu/fix-gmp
adhocore Dec 10, 2024
2faf95c
Update 8.4.Dockerfile
gogl92 Dec 12, 2024
e7caeca
Merge pull request #109 from gogl92/8.4-upgrade
adhocore Dec 12, 2024
b31a66e
chore: build 8.4 last
adhocore Dec 13, 2024
c8b98d2
feat: bump 8.3 to 8.3.14
adhocore Dec 13, 2024
08bb625
feat: bump 8.2 to 8.2.26
adhocore Dec 14, 2024
5d47af7
feat: bump 8.1 to 8.1.31
adhocore Dec 14, 2024
6c01002
Merge pull request #110 from adhocore/adhocore-patch-1
adhocore Dec 14, 2024
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
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
.git
.github
.gitignore
README.md
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
; http://editorconfig.org
;
; Sublime: https://github.com/sindresorhus/editorconfig-sublime
; Phpstorm: https://plugins.jetbrains.com/plugin/7294-editorconfig

root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[{*.md,*.php}]
indent_size = 4
2 changes: 2 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
github: adhocore
custom: ['https://paypal.me/ji10']
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
version: 2
updates:
- package-ecosystem: docker
directory: "/"
schedule:
interval: daily
time: "22:00"
open-pull-requests-limit: 10
75 changes: 75 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
name: build

on:
workflow_dispatch:
push:
branches:
- 'main'

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: "Docker Pull"
run: |
docker pull adhocore/phpfpm:8.0 || true
docker pull adhocore/phpfpm:8.1 || true
docker pull adhocore/phpfpm:8.2 || true
docker pull adhocore/phpfpm:8.3 || true
docker pull adhocore/phpfpm:8.4 || true

- name: "[8.3] Build and push"
id: docker_build_83
uses: docker/build-push-action@v4
with:
push: true
file: 8.3.Dockerfile
tags: adhocore/phpfpm:8.3,adhocore/phpfpm:latest
platforms: linux/amd64,linux/arm64

- name: "[8.2] Build and push"
id: docker_build_82
uses: docker/build-push-action@v4
with:
push: true
file: 8.2.Dockerfile
tags: adhocore/phpfpm:8.2
platforms: linux/amd64,linux/arm64

- name: "[8.1] Build and push"
id: docker_build_81
uses: docker/build-push-action@v4
with:
push: true
file: 8.1.Dockerfile
tags: adhocore/phpfpm:8.1
platforms: linux/amd64,linux/arm64

- name: "[8.0] Build and push"
id: docker_build_80
uses: docker/build-push-action@v4
with:
push: true
file: 8.0.Dockerfile
tags: adhocore/phpfpm:8.0
platforms: linux/amd64,linux/arm64

- name: "[8.4] Build and push"
id: docker_build_84
uses: docker/build-push-action@v4
with:
push: true
file: 8.4.Dockerfile
tags: adhocore/phpfpm:8.4,adhocore/phpfpm:latest
platforms: linux/amd64,linux/arm64
32 changes: 32 additions & 0 deletions .github/workflows/build_manual.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: build_manual

on:
workflow_dispatch:

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: "Docker Pull"
run: |
docker pull adhocore/phpfpm:7.4 || true

- name: "[7.4] Build and push"
id: docker_build_74
uses: docker/build-push-action@v4
with:
push: true
file: 7.4.Dockerfile
tags: adhocore/phpfpm:7.4
platforms: linux/amd64,linux/arm64
29 changes: 29 additions & 0 deletions .github/workflows/build_preview.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: build_preview

on:
workflow_dispatch:

jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: "[8.4] Build and push"
id: docker_build_84
uses: docker/build-push-action@v4
with:
push: true
file: 8.3.Dockerfile
tags: adhocore/phpfpm:8.4,adhocore/phpfpm:8.4
platforms: linux/amd64,linux/arm64
74 changes: 74 additions & 0 deletions 7.4.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
FROM php:7.4.33-fpm-alpine3.16

MAINTAINER Jitendra Adhikari <jiten.adhikary@gmail.com>

ENV \
XHPROF_VERSION=5.0.1\
ZEPHIR_VERSION=1.3.3 \
PHALCON_VERSION=4.0.0 \
SWOOLE_VERSION=4.6.7 \
SWOOLE_ASYNC_VERSION=4.5.5 \
LD_PRELOAD=/usr/lib/preloadable_libiconv.so \
PECL_EXTENSIONS="apcu ast ds ev hrtime igbinary imagick lzf lua mongodb memcached msgpack oauth pcov psr rdkafka redis \
simdjson ssh2-1.2 uuid xdebug-3.1.6 xlswriter yaf yaml" \
PHP_EXTENSIONS="bcmath bz2 calendar exif gd gettext gmp imap intl ldap mysqli pcntl pdo_mysql pgsql pdo_pgsql \
soap sockets sysvshm sysvmsg sysvsem tidy zip"

# docker-*
COPY docker-* /usr/local/bin/

# copy from existing
COPY --from=adhocore/phpfpm:7.4 /usr/local/lib/php/extensions/no-debug-non-zts-20190902/*.so /usr/local/lib/php/extensions/no-debug-non-zts-20190902/
COPY --from=adhocore/phpfpm:7.4 /usr/local/etc/php/conf.d/*.ini /usr/local/etc/php/conf.d/

# ext
COPY ext.php /ext.php

RUN \
# deps
apk add -U --no-cache --virtual temp \
# dev deps
autoconf g++ file re2c make zlib-dev libtool pcre-dev libxml2-dev bzip2-dev libzip-dev \
icu-dev gettext-dev imagemagick-dev openldap-dev libpng-dev gmp-dev yaml-dev postgresql-dev \
libxml2-dev tidyhtml-dev libmemcached-dev libssh2-dev libevent-dev libev-dev librdkafka-dev lua-dev \
freetype-dev jpeg-dev libjpeg-turbo-dev oniguruma-dev \
# prod deps
&& apk add --no-cache icu gettext gmp gnu-libiconv grpc imagemagick libjpeg libzip libbz2 libxml2-utils openldap-back-mdb openldap yaml \
libpq tidyhtml imap-dev libmemcached libssh2 libevent libev librdkafka linux-headers lua zlib \
#
# php extensions
&& docker-php-source extract \
&& cd /usr/local/lib/php/extensions/no-debug-non-zts-20190902 && rm -f intl.so mongodb.so && cd - \
&& cd /usr/local/etc/php/conf.d && rm -f *-intl.ini *-mongodb.ini && cd - \
&& pecl channel-update pecl.php.net \
&& docker-pecl-ext-install $PECL_EXTENSIONS \
&& { docker-php-ext-enable $(echo $PECL_EXTENSIONS | sed -E 's/\-[^ ]+//g') opcache > /dev/null || true; } \
# zephir_parser
# && { php -m | grep zephir_parser || (curl -sSLo zephir_parser.tar.gz https://github.com/phalcon/php-zephir-parser/archive/v$ZEPHIR_VERSION.tar.gz \
# && tar xzf zephir_parser.tar.gz \
# && rm -f zephir_parser.tar.gz \
# && mv php-zephir-parser-$ZEPHIR_VERSION zephir_parser); } \
&& { php -m | grep gd || docker-php-ext-configure gd --with-freetype --with-jpeg --enable-gd; } \
&& docker-php-ext-install-if $PHP_EXTENSIONS \
&& cd /usr/local/etc/php/conf.d/ \
&& { mv docker-php-ext-event.ini docker-php-ext-zevent.ini || true; } \
&& { pecl clear-cache || true; } \
&& { php -m | grep xdebug && docker-php-ext-disable xdebug || true; } \
&& docker-php-source delete \
#
# tideways_xhprof
&& { php -m | grep tideways_xhprof || (curl -sSLo /tmp/xhprof.tar.gz https://github.com/tideways/php-xhprof-extension/archive/v$XHPROF_VERSION.tar.gz \
&& cd /tmp/ && tar xzf xhprof.tar.gz && cd php-xhprof-extension-$XHPROF_VERSION \
&& phpize && ./configure \
&& make -j "$(nproc)" && make install \
&& docker-php-ext-enable tideways_xhprof); } \
#
# composer
&& curl -sSL https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer2 \
&& curl -sSL https://getcomposer.org/installer | php -- --1 --install-dir=/usr/local/bin --filename=composer \
# && composer global require hirak/prestissimo \
#
# cleanup
&& apk del temp \
&& rm -rf /var/cache/apk/* /tmp/* /var/tmp/* /usr/share/doc/* /usr/share/man/* \
&& php -f /ext.php
55 changes: 55 additions & 0 deletions 8.0.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
FROM php:8.0.30-fpm-alpine3.16

MAINTAINER Jitendra Adhikari <jiten.adhikary@gmail.com>

ENV \
LD_PRELOAD=/usr/lib/preloadable_libiconv.so \
PECL_EXTENSIONS_FUTURE="ev imagick ssh2-1.3.1 xlswriter yaf" \
PECL_EXTENSIONS="apcu ast ds igbinary lzf memcached mongodb msgpack oauth pcov psr redis rdkafka simdjson uuid xdebug xhprof yaml" \
PHP_EXTENSIONS="bcmath bz2 calendar exif gd gettext gmp imap intl ldap mysqli pcntl pdo_mysql pgsql pdo_pgsql \
pspell shmop soap sockets sysvshm sysvmsg sysvsem tidy xsl zip"

# docker-*
COPY docker-* /usr/local/bin/

# copy from existing
COPY --from=adhocore/phpfpm:8.0 /usr/local/lib/php/extensions/no-debug-non-zts-20200930/*.so /usr/local/lib/php/extensions/no-debug-non-zts-20200930/
COPY --from=adhocore/phpfpm:8.0 /usr/local/etc/php/conf.d/*.ini /usr/local/etc/php/conf.d/

# ext
COPY ext.php /ext.php

RUN \
# deps
apk add -U --no-cache --virtual temp \
# dev deps
autoconf g++ file re2c make zlib-dev libtool aspell-dev pcre-dev libxml2-dev bzip2-dev libzip-dev \
icu-dev gettext-dev imagemagick-dev openldap-dev libpng-dev gmp-dev yaml-dev postgresql-dev \
libxml2-dev tidyhtml-dev libmemcached-dev libssh2-dev libevent-dev libev-dev librdkafka-dev lua-dev libxslt-dev \
freetype-dev jpeg-dev libjpeg-turbo-dev oniguruma-dev \
# prod deps
&& apk add --no-cache aspell gettext gmp gnu-libiconv grpc \
icu imagemagick libjpeg imap-dev libzip libbz2 libxml2-utils libpq \
libmemcached libssh2 libevent libev librdkafka libxslt \
linux-headers lua openldap openldap-back-mdb tidyhtml yaml zlib \
#
# php extensions
&& docker-php-source extract \
&& docker-php-ext-remove intl || true \
&& pecl channel-update pecl.php.net \
&& { php -m | grep gd || docker-php-ext-configure gd --with-freetype --with-jpeg --enable-gd; } \
&& docker-php-ext-install-if $PHP_EXTENSIONS \
&& docker-pecl-ext-install $PECL_EXTENSIONS $PECL_EXTENSIONS_FUTURE \
&& { docker-php-ext-enable $(echo $PECL_EXTENSIONS $PECL_EXTENSIONS_FUTURE | sed -E 's/\-[^ ]+//g') opcache > /dev/null || true; } \
&& { pecl clear-cache || true; } \
&& { php -m | grep xdebug && docker-php-ext-disable xdebug || true; } \
&& docker-php-source delete \
#
# composer
&& curl -sSL https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer2 \
&& curl -sSL https://getcomposer.org/installer | php -- --1 --install-dir=/usr/local/bin --filename=composer \
#
# cleanup
&& apk del temp \
&& rm -rf /var/cache/apk/* /tmp/* /var/tmp/* /usr/share/doc/* /usr/share/man/* \
&& php -f /ext.php
55 changes: 55 additions & 0 deletions 8.1.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
FROM php:8.1.31-fpm-alpine3.21

MAINTAINER Jitendra Adhikari <jiten.adhikary@gmail.com>

ENV \
LD_PRELOAD=/usr/lib/preloadable_libiconv.so \
PECL_EXTENSIONS_FUTURE="imagick ssh2-1.3.1 xlswriter" \
PECL_EXTENSIONS="apcu ast ds ev igbinary lzf memcached mongodb msgpack oauth pcov psr redis rdkafka simdjson uuid xdebug xhprof yaf yaml" \
PHP_EXTENSIONS="bcmath bz2 calendar exif gd gettext gmp imap intl ldap mysqli pcntl pdo_mysql pgsql pdo_pgsql \
pspell shmop soap sockets sysvshm sysvmsg sysvsem tidy xsl zip"

# docker-*
COPY docker-* /usr/local/bin/

# copy from existing
COPY --from=adhocore/phpfpm:8.1 /usr/local/lib/php/extensions/no-debug-non-zts-20210902/*.so /usr/local/lib/php/extensions/no-debug-non-zts-20210902/
COPY --from=adhocore/phpfpm:8.1 /usr/local/etc/php/conf.d/*.ini /usr/local/etc/php/conf.d/

# ext
COPY ext.php /ext.php

RUN \
# deps
apk add -U --no-cache --virtual temp \
# dev deps
autoconf g++ file re2c make zlib-dev libtool aspell-dev pcre-dev libxml2-dev bzip2-dev libzip-dev \
icu-dev gettext-dev imagemagick-dev openldap-dev libpng-dev gmp-dev yaml-dev postgresql-dev \
libxml2-dev tidyhtml-dev libmemcached-dev libssh2-dev libevent-dev libev-dev librdkafka-dev lua-dev libxslt-dev \
freetype-dev jpeg-dev libjpeg-turbo-dev oniguruma-dev \
# prod deps
&& apk add --no-cache aspell gettext gmp gnu-libiconv grpc \
icu imagemagick libjpeg imap-dev libzip libbz2 librdkafka libxml2-utils libpq \
libmemcached libssh2 libevent libev libxslt linux-headers lua openldap \
openldap-back-mdb tidyhtml yaml zlib \
#
# php extensions
&& docker-php-source extract \
&& docker-php-ext-remove intl || true \
&& pecl channel-update pecl.php.net \
&& { php -m | grep gd || docker-php-ext-configure gd --with-freetype --with-jpeg --enable-gd; } \
&& docker-php-ext-install-if $PHP_EXTENSIONS \
&& docker-pecl-ext-install $PECL_EXTENSIONS $PECL_EXTENSIONS_FUTURE \
&& { docker-php-ext-enable $(echo $PECL_EXTENSIONS $PECL_EXTENSIONS_FUTURE | sed -E 's/\-[^ ]+//g') opcache > /dev/null || true; } \
&& { pecl clear-cache || true; } \
&& { php -m | grep xdebug && docker-php-ext-disable xdebug || true; } \
&& docker-php-source delete \
#
# composer
&& curl -sSL https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
&& curl -sSL https://getcomposer.org/installer | php -- --1 --install-dir=/usr/local/bin --filename=composer1 \
#
# cleanup
&& apk del temp \
&& rm -rf /var/cache/apk/* /tmp/* /var/tmp/* /usr/share/doc/* /usr/share/man/* \
&& php -f /ext.php
Loading