sforkowany z mirror/composer-and-node-ci
Update to NodeJS 14 and include Deployer
rodzic
aab62d58cf
commit
38f12031b3
|
@ -7,7 +7,7 @@ RUN apt-get update \
|
|||
apt-transport-https \
|
||||
&& curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - \
|
||||
&& echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list \
|
||||
&& curl -sL https://deb.nodesource.com/setup_12.x | bash - \
|
||||
&& curl -sL https://deb.nodesource.com/setup_14.x | bash - \
|
||||
&& apt-get install --no-install-recommends --no-install-suggests -y \
|
||||
nodejs \
|
||||
unzip \
|
||||
|
@ -27,6 +27,10 @@ RUN apt-get update \
|
|||
/usr/share/man/??_* \
|
||||
# Install composer
|
||||
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer \
|
||||
# Install Deployer - https://deployer.org/docs/getting-started.html
|
||||
&& curl -LO https://deployer.org/deployer.phar \
|
||||
&& mv deployer.phar /usr/local/bin/dep \
|
||||
&& chmod +x /usr/local/bin/dep \
|
||||
# Show versions
|
||||
&& php -v \
|
||||
&& echo "node: `node -v` " \
|
||||
|
|
22
README.md
22
README.md
|
@ -1,16 +1,22 @@
|
|||
# composer-and-node-ci
|
||||
# composer-and-node-ci Docker image
|
||||
|
||||
A docker image to be used on continuous integration projects.
|
||||
|
||||
It was made to use with Laravel and/or Frontend projects since it has all that is needed to build both types of 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 or with frameworks like Laravel or CodeIgniter, Composer for dependency manager.
|
||||
|
||||
To deploy and transfer files, [deployer](https://deployer.org) and RSync are available.
|
||||
|
||||
|
||||
## This image includes:
|
||||
|
||||
* [NodeJS 14.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)
|
||||
* PHP 7:latest
|
||||
* composer - latest
|
||||
* NodeJS 12.x and NPM
|
||||
* yarn - latest
|
||||
* openssh client
|
||||
* git
|
||||
* rsync
|
||||
* [composer - latest](https://getcomposer.org/doc/faqs/how-to-install-composer-programmatically.md)
|
||||
* [deployer](https://deployer.org)
|
||||
* OpenSSH client
|
||||
* Git
|
||||
* RSync
|
||||
* MySql Client
|
||||
|
|
Ładowanie…
Reference in New Issue