sforkowany z mirror/composer-and-node-ci
sp9unb 1e5e66460c | ||
---|---|---|
Dockerfile | ||
LICENSE | ||
README.md |
README.md
Docker composer-and-node-ci image
A docker image to be used on continuous integration projects.
The idea is to include everything you need to run unit tests and build frontend projects.
Also, it is possible to run pure PHP scripts, Composer for dependency manager.
To deploy and transfer files, Deployer, SSH, and RSync are available.
Nginx
and Apache
are NOT included.
This image includes:
- NodeJS 16.x and NPM
- Yarn - latest
- PHP 8-cli, 7.1-cli
- Composer (latest or v2.2.18 for php7.1)
- Deployer (v6.8.0 or v6.6.0 for php7.1)
- OpenSSH client
- Git
- RSync
- MySql Client
- zsh
- vim
- Make
Loaded modules:
$ php -m
[PHP Modules]
calendar
Core
ctype
curl
date
dom
exif
FFI
fileinfo
filter
ftp
gettext
hash
iconv
json
libxml
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
random
readline
Reflection
session
shmop
SimpleXML
sockets
sodium
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib
Build:
docker build --rm -t composer-and-node-ci:latest .
Basic usage:
docker run --rm --interactive --tty --volume $PWD:/app composer-and-node-ci <command>