composer-and-node-ci/README.md

95 wiersze
1.4 KiB
Markdown
Czysty Zwykły widok Historia

# Docker composer-and-node-ci image
2017-10-20 00:34:06 +00:00
A docker image to be used on continuous integration projects.
2017-10-20 00:34:06 +00:00
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.
2021-11-11 18:01:13 +00:00
To deploy and transfer files, [Deployer](https://deployer.org), SSH, and RSync are available.
2021-11-11 18:01:13 +00:00
`Nginx` and `Apache` **are NOT** included.
2017-10-20 00:34:06 +00:00
## This image includes:
* [NodeJS 16.x and NPM](https://github.com/nodesource/distributions/blob/master/README.md#installation-instructions)
* [Yarn - latest](https://classic.yarnpkg.com/en/docs/install/#debian-stable)
2021-11-11 18:01:13 +00:00
* PHP 8-cli, 7.1-cli
* [Composer](https://getcomposer.org/doc/faqs/how-to-install-composer-programmatically.md) (latest or v2.2.18 for php7.1)
* [Deployer](https://deployer.org) (v6.8.0 or v6.6.0 for php7.1)
* OpenSSH client
* Git
* RSync
2020-09-15 13:32:46 +00:00
* MySql Client
2021-11-11 18:01:13 +00:00
* zsh
* vim
* Make
### Loaded modules:
```
$ php -m
[PHP Modules]
calendar
2021-11-11 18:01:13 +00:00
Core
ctype
curl
date
dom
exif
FFI
2021-11-11 18:01:13 +00:00
fileinfo
filter
ftp
gettext
2021-11-11 18:01:13 +00:00
hash
iconv
json
libxml
mysqli
mysqlnd
openssl
pcntl
2021-11-11 18:01:13 +00:00
pcre
PDO
pdo_mysql
2021-11-11 18:01:13 +00:00
pdo_sqlite
Phar
posix
random
2021-11-11 18:01:13 +00:00
readline
Reflection
session
shmop
2021-11-11 18:01:13 +00:00
SimpleXML
sockets
sodium
2021-11-11 18:01:13 +00:00
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
2021-11-11 18:01:13 +00:00
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
2021-11-11 18:01:13 +00:00
zip
zlib
```
2022-11-06 19:06:49 +00:00
### 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>
```