A docker image for CI/Build and Deploy
It's A small Alpine image contains (PHP + Deloyer + NODEJS + NPM + YARN + Other CANDYS), Build for CI
See https://github.com/ihipop/php-nodejs-alpine#tags-instruction for Tags Instruction
docker run --rm -it -v $(pwd):/project ihipop/deployer-toolkit:php7.1-node8.9-dep6.0 dep --version
docker run --rm -it -v $(pwd):/project ihipop/deployer-toolkit:php7.1-node8.9-dep6.0 composer --version
docker run --rm -it -v $(pwd):/project ihipop/deployer-toolkit:php7.1-node8.9-dep6.0 npm --version
#....
COMPOSER_HOME=/usr/local/composer
PATH=/usr/local/composer/vendor/bin/:/project/vendor/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
PWD=/project
DEPLOY_SSH_KEY_FILE
Private SSH as a file, will be pass tossh-add
DEPLOY_SSH_KEY_BASE64
Private SSH key's content with base64 ecnoded, will be pass tossh-add
after decodedDEPLOY_SSH_KEY
Private SSH key's Content, will be pass tossh-add
- Deployer (With
deployer/recipes
installed) - Composer
- PHP_CodeSniffer
- CacheTool
- NODEJS + NPM + YARN family
- Necessary binary DEV libs for NPM Build in CI
- Glibc
/ssh
None hidden files in /ssh
will be copy to $HOME/.ssh
and set by chmod 600
in docker container.
/project
Is mount as current working dir.
/tmp
Is just mount as /tmp
php -m
[PHP Modules]
bcmath
bz2
Core
ctype
curl
date
dom
fileinfo
filter
ftp
gd
hash
iconv
json
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
Reflection
session
SimpleXML
sockets
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlwriter
Zend OPcache
zip
zlib
[Zend Modules]
Zend OPcache