Sign inSign up

ihipop/php-nodejs-alpine

By ihipop

•Updated over 8 years ago

A base Alipne image, contains `PHP` `NodeJS` `NPM` `GIT` `curl`

Image
0

418

ihipop/php-nodejs-alpine repository overview

A base Alipne⁠ image, contains PHP NodeJS NPM GIT curl , first intent for deployer-toolkit⁠

Docker Hub: https://hub.docker.com/r/ihipop/php-nodejs-alpine/tags/⁠

Source: https://github.com/ihipop/php-nodejs-alpine⁠

含有china标签镜像的中文优化项说明⁠

⁠Cmd Usage

docker run --rm -it -v $(pwd):'/project' ihipop/php-nodejs-alpine:php7.1-node8.9 php -v
docker run --rm -it -v $(pwd):'/project' ihipop/php-nodejs-alpine:php7.1-node8.9 node -v
docker run --rm -it -v $(pwd):'/project' ihipop/php-nodejs-alpine:php7.1-node8.9.dynamic npm -v
#...

⁠Tags Instruction

php{version}-node{version}_{specialtag}

For example :

php7.1-node8.9_china

Means PHP at version 7.1.x , NodeJs at version 8.9.x ,and contains some special optimise⁠ for users from China

node8.9.dynamic

Means the nodejs is build dynamicly , Ussally usefull in CI

node8.9

Means the nodejs is build staticly ie,the build flag has --fully-static --without-npm,Ussally usefull in Production

If you won't to use this image in china, please choose those docker image without the china specialtag

⁠Build

⁠Build behind a Proxy

docker build -t ihipop/php-nodejs-alpine:php7.1-node8.9 . --build-arg HTTP_PROXY=http://172.17.0.1:8123 --build-arg HTTPS_PROXY=http://172.17.0.1:8123

⁠Build specialtag for china

docker build -t ihipop/php-nodejs-alpine:php7.1-node8.9_china . --build-arg IN_CHINA=true

Tag summary

Content type

Image

Digest

Size

123.3 MB

Last updated

over 8 years ago

docker pull ihipop/php-nodejs-alpine:php7.1-node8.9.npm_china