forked from ezsystems/docker-php
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EZP-30036: Add Node.js and Yarn to 7.1 and 7.2 images (ezsystems#33)
* Add Node.js and Yarn to 7.1 and 7.2 images * Add gnupg to installed packages * Test whether image sieze can be descreased * Revert "Test whether image sieze can be descreased" This reverts commit 159a065. * Add Node flavour * Always build Node flavour. Add Readme and test entries
- Loading branch information
Showing
6 changed files
with
32 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM ez_php | ||
FROM ez_php:latest-node | ||
|
||
ARG XDEBUG_CHANNEL="xdebug" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
FROM ez_php | ||
|
||
# Install Node.js and Yarn | ||
RUN apt-get update -q -y \ | ||
&& apt-get install -q -y --no-install-recommends gnupg \ | ||
&& curl -sL https://deb.nodesource.com/setup_10.x | bash - \ | ||
&& apt-get install -y nodejs \ | ||
&& curl -sL 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 \ | ||
&& sudo apt-get update && sudo apt-get install yarn \ | ||
&& rm -rf /var/lib/apt/lists/* |