skilld-labs / docker-php Goto Github PK
View Code? Open in Web Editor NEWDrupal 9 and 10 on PHP 8/7 dev containers
Drupal 9 and 10 on PHP 8/7 dev containers
Follow-up to #90
Probably it needs extra match
rule to test url rewrite for .br
files for js/css assets
Docs https://unit.nginx.org/configuration/#static-files
Refs
June 10 starts alpha releases with deadline Nov 26
Ref https://wiki.php.net/todo/php81
Meantime repo could hide 5x releases and older 73
Compare with http://www.drupaldocker.org/
Speed-up config import 15% https://www.drupal.org/node/2769555
was fixed in docker-compose
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -14,7 +14,9 @@ web:
mysql:
image: percona:5.6.27
volumes:
http://php.net/supported-versions.php - 1 year left so better to prepare
xhprof allows to filter out functions by names so it brings more overhead on each operation and no way (yet) to disable it
Tideways is available https://pkgs.alpinelinux.org/packages?name=php%3F-tideways_xhprof&branch=edge
Also it needs to figure viewer image which should be separate from PHP images as needs graphicsmagick dot
installed
When project already released and has content in db we need to use sql-flow
To build project.
Roadmap
This library deprecated https://wiki.php.net/rfc/mcrypt-viking-funeral
So starting from php 7.1 we should stop using it
Lets remove/move docker-compose.yml, *.sh and *.make.yml and all environments related files to separate repo.
In this case we will have more clear and simpler support process
related to #13
if there will be more leaks on debian
It takes only 770048 bytes
$ dor skilldlabs/php:74 ash
/srv # apk update
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz
fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz
v3.15.8-125-gaf32f9bcbf4 [https://dl-cdn.alpinelinux.org/alpine/v3.15/main]
v3.15.8-122-g88eb1d4a287 [https://dl-cdn.alpinelinux.org/alpine/v3.15/community]
OK: 15872 distinct packages available
...
/srv # apk stats
installed:
packages: 92
dirs: 236
files: 993
bytes: 94584832
triggers: 2
available:
names: 36880
packages: 15872
atoms:
num: 11477
/srv # apk add rsync
(1/4) Installing libacl (2.2.53-r0)
(2/4) Installing lz4-libs (1.9.3-r1)
(3/4) Installing popt (1.18-r0)
(4/4) Installing rsync (3.2.5-r0)
Executing busybox-1.34.1-r7.trigger
OK: 90 MiB in 96 packages
/srv # apk stats
installed:
packages: 96
dirs: 236
files: 1003
bytes: 95354880
triggers: 2
available:
names: 36880
packages: 15872
atoms:
num: 11477
/srv # apk add -u rsync
(1/1) Upgrading musl (1.2.2-r8 -> 1.2.2-r9)
OK: 90 MiB in 96 packages
/srv # apk stats
installed:
packages: 96
dirs: 236
files: 1003
bytes: 95354880
triggers: 2
available:
names: 36880
packages: 15871
atoms:
num: 11477
Because SF 2.8 require it https://www.drupal.org/node/2703495
php-cli
webserverSince https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/44127 unit has both modules in Alpine repo
As of release 1.13 we should use labels
https://composer.github.io/installer.sig
In case of next rebuild - need to update hash.
Soon Alpinelinux will start migration to PHP 7.4 so we have to fix 7.3 on alpine:3.11 (which is not ready yet)
Also would be great to make it configurable
https://github.com/wodby/php/blob/master/7/templates/zz-www.conf.tmpl#L28
In install.sh file we write db credentials again
Lets use some yaml parsers to read this values and reuse in scripts
Useless instruction to inherit, the WORKDIR
to point expected mount is enough)
At the time of Drupal 9 it is useless and needs /usr/bin/drush
replacement
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.