Docker image for deployment of PHP applications, intended for use within GitLab CI.
The image comes with tags 7.2
, 7.3
, and 7.4
where the tags represent the PHP version inside the image.
The package uses PHP from deb.sury.org with the following extensions:
- bz2
- curl
- gd
- imap
- intl
- json
- ldap
- mbstring
- mongodb
- mysql
- opcache
- redis
- solr
- sqlite3
- xdebug
- xml
- xsl
- zip
Composer is installed in the latest version as of build time of the container; if you want the really latest one, add the following line to your .gitlab.yml
file
composer selfupdate
or the following to your own Dockerfile
RUN composer selfupdate
Node.js is installed in version 12.
For deployment, the following packages are installed:
- git
- openssh-client
- rsync
- sshpass
- python
You can use the build.sh
script to build or update the image and push them to Docker Hub (e.g. ./build.sh datamints/php-deployment 7.2
).